Accessibility Bug: No accessible name for the link on the Topcoder logo #265
Description
Steps to Reproduce:
- Navigate to the Community page of Topcoder.
- Open Dev Tools for browser.
- Inspect the Topcoder logo in the top, left-hand corner of the page.
- Neither the url and the svg have a proper labeling or alt text to help identify it's purpose to users of assistive technology.
Actual Result:
Inspecting the logo reveals no alt text or proper aria that would make a label for it accessible to assistive technologies. When a screen reader hits the logo link, it just reads off the url, which not considered best practice or considered an accessible label.
Expected Result:
Using assistive technology should cause the logo to be identified with an simple, descriptive name, like just Topcoder.
Device/OS/Browser Information: Desktop / Windows 11 (Build 22454) / Edge (Version 94.0.992.31)
Screenshots or screencast URL:
A simple solution to this would be to add the following attributes to the SVG image that makes up the logo:
- `aria-hidden="true"
aria-role="presentation"
alt=" "
Then add the following attribute to the link itself: aria-label="Topcoder"
This appears to be repeated across all pages. If this is not a shared component, the source will need to be updated so all instances of the Topcoder logo have properly accessible labeling.