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.

ACCESSIBILITY : Anchor Tags are not accessible on Android & IOS When screen reader is present.

See original GitHub issue

When 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

1reaction
jsamrcommented, Oct 26, 2021

@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

0reactions
fabien88commented, Oct 26, 2021

@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

Read more comments on GitHub >

github_iconTop 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 >

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