3

I am facing an issue while testing for accessibility.

I have used role="alert" for an error message [single level]. Do I need to use aria-busy="true" / aria-atomic="true" / aria-live="polite"

<td><span role="alert" class="error-msg-show"></span></td>

I have already defined `role="alert" but do I need to use any other ARIA attributes?

4
  • I'm not entirely sure what you're asking here but it looks like a question about implementation (specifically: coding) rather than UX. Have you tried asking this on stackoverflow.com ? May 26, 2016 at 9:04
  • Hi @AndrewMartin, up to my analysis and understanding, if we are using html5 tag role="alert" then we don't need to use any of ARIA tag for highlighting dynamic updates. May 27, 2016 at 9:34
  • This still sounds like implementation to me. May 27, 2016 at 9:35
  • Accessibility implementation issues tend to be considered in-scope because they are so closely tied to UX.
    – Matt Obee
    May 27, 2016 at 11:08

1 Answer 1

1

role="alert" should be all you need (it has an inherent live region behaviour) although I suspect best practice is to also include aria-live="polite" to ensure the widest possible support.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.