Assessment wanted for WAI-ARIA 1 skill test. (Tasks 1-3)

Assessment wanted for WAI-ARIA 1 skill test. (Tasks 1-3)

Link to task: https://developer.mozilla.org/en-US/docs/Learn/Accessibility/WAI-ARIA_basics/Test_your_skills:_WAI-ARIA

Links to my code:
Task-1: https://jsfiddle.net/EiNzp/dray4qpc/
Task-2: https://jsfiddle.net/EiNzp/re4dcg2s/
Task-3: https://jsfiddle.net/EiNzp/h23dq7po/1/

Thanks :wink:

Congrats, @EiN!

All three tasks are correct.

Additional question:
For the third task there’s an alternative solution. You could use a certain role value. Can you find out which one?

Cheers,
Michael

1 Like

Hi.
I think role="alert" can be used for an alternative solution.
Task-3(Alternative solution): https://jsfiddle.net/EiNzp/2jx7yfb8/3/

That’s exactly right.
Alerts are are also assertive live regions.

1 Like