flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
166.81k stars 27.65k forks source link

Link widget requires roles, ARIA properties, and keyboard support (Accessibility) #157210

Open jcollins-disney opened 1 month ago

jcollins-disney commented 1 month ago

Use case

The Link widget requires roles, ARIA properties, and expected keyboard support to meet accessibility compliance requirements outlined in the Web Content Accessibility Guidelines (WCAG).

Proposal

WAI-ARIA Roles, States, and Properties

iapicca commented 1 month ago

the topic seems to be addressed this document as mentioned in this issue

darshankawar commented 1 month ago

The linked document mentions Link widget. @jcollins-disney I will close this in favor of the linked issue. Please follow-up in it for further updates. If you disagree, write in comments and I'll reopen it.

darshankawar commented 1 month ago

Reopening based on https://github.com/flutter/flutter/issues/107861#issuecomment-2427190284

chunhtai commented 1 month ago

I thought this is already supported? cc @yjbanov

yjbanov commented 3 weeks ago

The ARIA attributes go into the semantics tree, not the widget itself. However, let's double-check, in case we're missing something.