Updated tabs pull request includes one example using tabindex=0 on tabpanel and the other example has focusable element+

I have updated the tab examples in the following pull request to more clearly highlight when tabindex=0 should be used on a tabpanel and when it should not be used.
https://github.com/w3c/aria-practices/pull/2194

The current guidance for the use of tabindex=0 on the tabpanel seems too subtle to me and so I also added a bullet in the NOTE in the pattern.

Jon

Jon Gunderson, Ph.D., CPWA (he/him/his)
Coordinator of Accessible IT Group
University of Illinois at Urbana/Champaign
1207 S. Oak Street
Champaign, IL 61820

Phone: (217) 244-5870
E-mail: jongund@illinois.edu<mailto:jongund@illinois.edu?Subject=Re%3A%20Alternative%20date%20combobox%20grid%20date%20picker%20example%20for%20ARIA%20APG&In-Reply-To=%3CBYAPR11MB3413C2168E1DF82F6E4C7B2CC8BE0%40BYAPR11MB3413.namprd11.prod.outlook.com%3E&References=%3CBYAPR11MB3413C2168E1DF82F6E4C7B2CC8BE0%40BYAPR11MB3413.namprd11.prod.outlook.com%3E><mailto:jongund@illinois.edu<mailto:jongund@illinois.edu?Subject=Re%3A%20Alternative%20date%20combobox%20grid%20date%20picker%20example%20for%20ARIA%20APG&In-Reply-To=%3CBYAPR11MB3413C2168E1DF82F6E4C7B2CC8BE0%40BYAPR11MB3413.namprd11.prod.outlook.com%3E&References=%3CBYAPR11MB3413C2168E1DF82F6E4C7B2CC8BE0%40BYAPR11MB3413.namprd11.prod.outlook.com%3E>>
www: https://go.illinois.edu/jongund

Received on Tuesday, 18 January 2022 20:13:40 UTC