all AI news
Accessibility
Jan. 23, 2024, 4:30 a.m. | Hari Bhandari
DEV Community dev.to
For accessibility, we will follow w3org aria practices.
WAI-ARIA Roles, States, and Properties:
According to WAI/ARIA,
- for a visible accordion panel the corresponding header button should have aria-expanded=true, and for a non-visible panel, aria-expanded=false
- each accordion header should be contained in an element with role=button
- The accordion header button element should have aria-controls set to the ID of the corresponding accordion panel
There are more aria guidelines and for more please check this link.
function Accordion(..) { …
accessibility aria element false panel practices react role roles set true will
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Software Engineer for AI Training Data (School Specific)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Python)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Tier 2)
@ G2i Inc | Remote
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US