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 | View the thread | More toots from chris_e_simpson@hachyderm.io

Mentions

Tags

=> View coding tag | View accessibility tag

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

This content has been proxied by September (ba2dc).