Re: Accordions as tabs

On 21/02/2024 14:50, Ms J wrote:
> Hello
> 
> I often see controls that work like accordions marked-up with tab roles. 

This likely goes back to some rather ... misguided/idiosyncratic advice 
in an early version of the ARIA Authoring Practices Guide (when it was 
still a spec-like document, rather than a resource site). That enshrined 
the old "accordion is an oddly nested tab panel" structure somehow, but 
then moved away from it again (quite rightly) towards a more sensible 
"accordions are just a series of disclosure widgets".

https://www.w3.org/WAI/ARIA/apg/patterns/accordion/

P
-- 
Patrick H. Lauke

* https://www.splintered.co.uk/
* https://github.com/patrickhlauke
* https://flickr.com/photos/redux/
* https://mastodon.social/@patrick_h_lauke

Received on Wednesday, 21 February 2024 16:35:05 UTC