Coding task · HTML and CSS course · Module 10: Accessibility (a11y)
Adding ARIA Attributes
ARIA (Accessible Rich Internet Applications) consists of HTML attributes that provide information about the role and state of elements for screen readers: aria-label, aria-describedby, aria-hidden, aria-expanded.
Task
Add ARIA attributes: aria-label to an icon button, aria-describedby to a search field, aria-hidden to a decorative icon, and aria-expanded with aria-controls to a FAQ section.