question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Voiceover / NVDA / JAWS Accessibility (A11y) support?

See original GitHub issue

Is there a defined pattern for making sure SVGs served using Angular SVG Icon are accessible, particularly as related to voice over support? I know you can set the title/description in the SVG itself and that works for some combinations of voice readers, but it would also be nice to have the option to pass dynamic voice over text into svg-icon and have it be rendered consistently for the best accessibility support.

If there isn’t a pattern yet, this may be something we will be adding and if there is interest, could contribute back to the plugin.

related information about SVGs and accessibility: https://www.deque.com/blog/creating-accessible-svgs/

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
czeckdcommented, Feb 25, 2021

The svgAriaLabel discussed above is now released in angular-svg-icon@11.2.0. Please let me know how it works out for you.

1reaction
czeckdcommented, Feb 24, 2021

I’m looking over at Angular Material for what they’re doing with icons and how I’m interpreting their response is the icons are mostly decorative. Thus the default is aria-hidden=true, which can be overridden.

Experimenting with setting an aria-label on the svg-icon, it sounds like the label is duplicated on both the svg-icon and then the SVG. This seems like the wrong approach to me. Therefore, I think having a svgAriaLabel attribute on svg-icon is the preferable approach.

If the svgAriaLabel is set to a non-empty string, then the aria-hidden=true on the SVG would be removed and the SVG’s aria-label would be set to the string in svgAriaLabel. If the svgAriaLabel="", then the aria-label is removed from the SVG and the aria-hidden=true is set.

Thus, one new, optional attribute, svgAriaLabel and aria-hidden=true by default. Does this seem like the correct approach?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Accessibility Support
Please run some tests to help keep this project going and to learn ... JAWS, Narrator, NVDA, Orca, TalkBack, VoiceOver (iOS), VoiceOver (macOS)....
Read more >
Screen Readers & Browsers! Which is the Best Combination ...
According to WebAIM Screen reader survey we can clearly see from the below table that JAWS works great on Internet Explorer followed by...
Read more >
A Brief Introduction to JAWS, NVDA, and VoiceOver | CSS-Tricks
A screen reader is an important accessibility tool for people with no or limited vision. People who are blind or those with low...
Read more >
Navigating with a screen reader - Orange digital accessibility ...
Configuration # At first startup, NVDA is configured to vocalize whatever the mouse pointer is over. This mode is used by visually-impaired people...
Read more >
JAWS® – Freedom Scientific
JAWS, Job Access With Speech, is the world's most popular screen reader, developed for computer users whose vision loss prevents them from seeing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found