ACCESSIBILITY : Anchor Tags are not accessible on Android & IOS When screen reader is present.
See original GitHub issueWhen screen readers are active on my devices (IOS & Android) I cannot seem to select the anchor-tag links that are visible on the page.
Has anyone had similar issues with this? I feel Accessibility is a bit of a dark-art when it comes to React-Native.
"react-native": "~0.59.0",
"react-native-render-html": "^4.1.2",
IOS (Physical) & Android (Emulator)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:6
Top Results From Across the Web
Links - Usability & Web Accessibility - Yale University
Avoid link text like “Click Here,” “More,” and “Read More.” These kinds of links can be confusing when a screen reader reads them...
Read more >Links and accessibility
Screen readers tell the user when they encounter a link, so you don't need to use the words “link” or “links to” or...
Read more >Handling common accessibility problems - MDN Web Docs
Hopefully this article has given you a good grounding in the main accessibility problems you might encounter, and how to test and overcome ......
Read more >Text link Accessibility: aria-label and title attribute
In this accessibility expert post, Sailesh Panchang compares screen reader behavior for aria-label and title on text links.
Read more >how to prevent redundant text being read in screen reader?
remove aria-labelledby , the text will be read out that is within the link and you have correctly hidden the icons. It will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@fabien88 Thanks for pointing the testing issue! I have just fixed this bug and the test still passes. The issue your are encountering is likely a damning React Native bug (or limitation, depending on the perspective) that is covered in the FAQ here: https://meliorence.github.io/react-native-render-html/docs/faq#some-anchors-a-are-not-accessible-to-screen-readers
@jsamr I think there still a problem with anchor links embeded within span. Unit test wrongly assumes it is working because it uses a static prop instead of unit test case snippet : https://github.com/meliorence/react-native-render-html/blob/5717c9cf84254ff549153591088206434472066f/packages/render-html/src/__tests__/component.render-html-a11y.test.tsx#L26