Replies: 3 comments 2 replies
-
Great idea! Do you have additional best practices or examples where this would be used? |
Beta Was this translation helpful? Give feedback.
-
I like the idea :) Question: I would expect the screen reader to automatically announce that the link is opened in a new tab when the |
Beta Was this translation helpful? Give feedback.
-
onyx supports a |
Beta Was this translation helpful? Give feedback.
-
Why?
When creating accessible components and websites there is often a need for additional informations that should only be displayed to users in need of screen-readers. Therefore the text should be visually hidden but still visible to screen-readers.
An example would be links that open in a new tab, this behaviour should be announced by the screen-reader to prevent confusion.
Usage
Example usage:
Implementation
The implementation of such a component would be quite straightforward.
Beta Was this translation helpful? Give feedback.
All reactions