Coding task · Angular course · Module 12: Security and Performance

Practice: Accessibility

ARIA attributes help screen readers: role defines the semantics, aria-modal says the rest of the page is inactive, and the window's name is given by the ARIA attribute that holds a text label. A directive from A11yModule (@angular/cdk/a11y) keeps keyboard focus inside the window.

Task

Complete the accessible modal with the proper ARIA attributes.