Open JJdeGroot opened 4 months ago
Might need to define programmatically determined link context in terms of native iOS and Android but apart from that i believe the requirements as written work for native.
One thing I've always wondered with this SC in native apps is whether this should be limited to the term "link" as in hyperlink to a web page, or if it applies more broadly as any interaction that goes to another place. In other words, a button trait for navigating to another screen in an app - or a link to a web view in the app - could be interchangeably used in much of the 2.4.4 Understanding document.
The other question I've come across in practice is whether a button that looks like a hyperlink or vice versa would fail this SC.
Discussed in today's meeting.
A link will be announced by screen readers as a link, and not a button. A link is for me what is characterized as a link in the accessibility tree (i.e. like an ARIA role "link"). In an app, I usually see links be used to navigate to an URL, be it with a full fledged browser or an in-app browser.
If we do a parallel with rich web applications, you can navigate with some buttons inside the same page (open a modal, display different content with tabs, ...) but we are not using links for these in-page navigation elements. If we consider a broader definition of what constitutes a link, we may have lots of links without context, thus rendering this SC stricter for mobile apps. Or should we also update the definition of a link context?
TalkBack's link activation behavior will change in the 15.1 update: https://support.google.com/accessibility/android/answer/15621045?hl=en
With TalkBack 15.1, you can open links by double-tapping them, both inside and outside of web view content. You no longer need to use the TalkBack menu to open links.
Discussed in today’s meeting.
ACTION: Research link behavior on Android and iOS -> 1. Native link in text, 2. Native link on its own, 3. Web link in WebView
ACTION: Research impact of broadening "link" to "links and buttons" or "interactive components"
ACTION: Consider linking to 2.4.6 as best-practice
WCAG2ICT guidance: https://www.w3.org/TR/wcag2ict-22/#link-purpose-in-context
Share your thoughts for applying to mobile apps as a comment below.