WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: name of abbr element

for

From: wolfgang.berndorfer@zweiterblick.at
Date: Mar 6, 2023 10:02AM


> 2. Why do the screen readers read the text content instead of the name?

Whether screen readers announce *Sa* or *Saturday* depends on the default and customized settings of the SR.

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Mark Magennis
Sent: Monday, March 6, 2023 12:12 PM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: [WebAIM] name of abbr element

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