w3c / wcag

Web Content Accessibility Guidelines
https://w3c.github.io/wcag/guidelines/22/
Other
1.14k stars 256 forks source link

G200: why is 3.2.1 On Focus referenced? #4043

Open mfairchild365 opened 3 months ago

mfairchild365 commented 3 months ago

Technique G200 references 3.2.1 On Focus but makes no mention or reference to causing a context change on focus. Should 3.2.1 be removed from this technique?

patrickhlauke commented 3 months ago

Yeah, this seems odd, agree.

patrickhlauke commented 3 months ago

Likely the thinking here was: https://www.w3.org/WAI/WCAG21/Understanding/on-focus mentions

new windows launched when a component receives focus

and then probably makes a leap here ... to fix this, you'd avoid doing it on focus, and oh if you're already launching new windows, even if you're not doing it on focus but on an explicit activation, think about G200 as an advisory extra technique

scottaohara commented 2 months ago

seems like it might be better to just remove the reference, rather than adding in text to explain this SC is only applicable if the link automatically activates on keyboard focus - but otherwise it's mention not relevant.

patrickhlauke commented 2 months ago

Noting that G201 is also referenced as an advisory technique for 3.2.1 On Focus.

G200 is also advisory for 3.2.5 Change on Request and isn't quite clear/relevant for that either.