Accessible names · 07
Resolve name precedence
One control has text, title, aria-label, and aria-labelledby—only the highest-priority source wins.
What to do
- Keep all four competing name sources on the button.
- Make its computed accessible name exactly “Save draft”.
- Use the accessible-name precedence rules rather than copying the target everywhere.
Result
Run the checks
Edit the HTML and select “Check solution”. The preview updates automatically.
If you are stuck
aria-labelledby is evaluated before aria-label, title, and button text. Point it to the intended label.