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
=> View coding tag | View accessibility tag This content has been proxied by September (ba2dc).Proxy Information
text/gemini