Ancestors

Toot

Written by Chris Simpson on 2025-01-09 at 00:53

Hey accessibility experts, I was looking into guidelines about accessible tabs and realized I hadn't added the aria-controls attribute yet. It then occurred to me that rather than have two separate attributes that identify the target container id for each tab, I could throw away the one I was using and just make use of the aria-controls value. This would ensure I'm always setting this attribute.

Is there any reason I should avoid reading aria attributes from javascript?

Thanks!

[#]coding #accessibility

=> More informations about this toot | More toots from chris_e_simpson@hachyderm.io

Descendants

Written by Curtis Wilcox on 2025-01-09 at 02:49

@chris_e_simpson

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113795662783747950
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
279.18177 milliseconds
Gemini-to-HTML Time
0.64059 milliseconds

This content has been proxied by September (ba2dc).