Run Test: aria-describedby attribute that references role="alert"
Current support: undefined
This test ensures that the accessible description is computed correctly when aria-describedby
references an element with role="alert"
. See related Firefox bug that suggests that aria-describedby should not include the text in role="alert"
.
This is a common design pattern when error messages update in real time and the author wants to inform screen reader users of those updates.
Step 1: What are you testing with?
Make sure everything is up to date
Always make sure that your OS, Browser, and Assistive technology are up to date with the latest production versions before submitting test results. Also make sure that your assistive technology is set to factory defaults.
Please be sure to read the full instructions before completing the test.
Step 2: Run test cases and submit your findings
- Launch the chosen assistive technology that you want to test with.
- Ensure that your OS, AT, and Browser are all up to date.
- Navigate to the test page iframe (after these instructions) or open the test page.
- For each test case, locate the target element(s) and test whether or not the expectations are met
Note: Screen readers will usually announce an element in the format: "<role>, <accessible name>, <other states and properties>, <accessible description>". The order in which the name, role, and properties are announced might differ between screen readers. The exact vocabulary used will also differ.