Re: Accordions as tabs

On 22/02/2024 13:44, Jan Enning wrote:
> In my opinion, the functionality of an accordion is already present in HTML.
> Function: show/disclose information.
> Behaviour: click on a "bar/element" and extra information is disclosed.
> Without any extra JS/Aria it works out of the box in any evergreen browser.
> 
> Lookin to the html tag "details"
> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details 
> <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details>

Well yes, *now* we have the details/summary construct. Noting that at 
the time the ARIA solutions were originally devised, this structure 
didn't even exist yet...

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 Thursday, 22 February 2024 20:23:47 UTC