Closed
Bug 1563473
Opened 7 years ago
Closed 6 years ago
[accessibility] The skip to section links icon has no discernible text
Categories
(developer.mozilla.org Graveyard :: General, defect, P2)
developer.mozilla.org Graveyard
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: espressive, Assigned: espressive)
References
Details
(Keywords: in-triage)
Attachments
(1 file)
The skip to section links next to heading on wiki pages receive focus, but have no accessible name, and have aria hidden set to true. <a href="#Basics" class="sectionLink"> 🔗</a>
- Do not set aria-hidden to true
- Add a label
- Use a standard SVG icon from Dinocons
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Assignee: nobody → schalk.neethling.bugs
Comment 2•7 years ago
|
||
The PR has already been merged, but I left a comment on it anyway. The recursive use of React's render() function in that PR scares me. Perhaps irrationally. But since we're using an effect funtion to edit the DOM which was injected with dangerouslySetInnerHTML, I'd suggest that the icon should be handled without any React code. I suggest just define the icon as a static string in the .js file and use innerHTML (possibly with cloneNode() as an optimization) to get the icon inside the link.
Comment 3•6 years ago
|
||
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•