WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: name of abbr element

for

From: Mark Magennis
Date: Mar 6, 2023 4:12AM


In <abbr title="Saturday">Sa</abbr> I would expect the abbr element's name to be “Sa” because text content has a higher preference than title in the accessible name computation.

However, in both Chrome and Firefox the accessibility tree shows the element having name: “Saturday”. But JAWS and NVDA both read it as “Sa”. So I have two questions.

1. Why does it have name=”Saturday” in the accessibility tree?
2. Why do the screen readers read the text content instead of the name?

Thanks,
Mark

Mark Magennis (he)
Senior Accessibility Specialist
Skillsoft
www.skillsoft.com