DEV Community

Discussion on: Dynamic List: lets make it accessible for the screen reader

Collapse
 
hellonehha profile image
Neha Sharma

Hey,

Oh!! yes. Thank you for highlighting missing 'label'.

let me explore on this -" role "region" could be completed with an "aria-roledescription" attribute with a value like "notification" for example."

Collapse
 
hellonehha profile image
Neha Sharma

I read about aria-roledescription. I decided to update the role to alert and initially I thought to add value - "Details about cuisine" but then changed it to 'notification' as "Details about cuisine" was looking like repetitive information + was not useful for screenreaders