WebAIM - Web Accessibility In Mind

E-mail List Archives

Does providing null ("") for Role, Name, id break Accessibility in any way ?

for

From: allyssa jessicon
Date: Jul 29, 2023 1:40PM


Hello list,

We have a piece of code where id="" , role="" and name="" (all null)
used in many scenarios for various reasons, running automated scripts
for the page containing the code resulting in failure with the message
"Element does not have inner text that is visible to screen readers".
Is this a cause of concern for Accessibility? The controls work just
fine with all major screen readers though.

Appreciate your response.


Thanks.