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)

defect

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>

  1. Do not set aria-hidden to true
  2. Add a label
  3. Use a standard SVG icon from Dinocons
Keywords: in-triage
Assignee: nobody → schalk.neethling.bugs

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.

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
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: