RE: Labels

Or flipping the question, would the name be sufficient if the item it acts
upon was part of a structure such as a table with row and column headings?

 

Secondary question: what happens to focus when this button is activated and
the item it acts on is removed?

 

 

 

 

From: Ms J <ms.jflz.woop@gmail.com> 
Sent: Monday, June 16, 2025 8:39 PM
To: 'w3c-wai-ig' <w3c-wai-ig@w3.org>
Subject: Labels

 

Hello

 

Can buttons be non-descriptive (as per 2.4.6) just for one user group? Aka
out of context for screen reader users? To me, if there's some context that
enables you to identify the purpose of the button that is not
programmatically associated so that it is determined out of context, then
this is a higher fail, such as 1.3.1 or 2.5.3?

 

An example would be multiple buttons with the same label such as 'remove'
adjacent to a notification link. The label of that remove button is not just
the text 'remove' - the text that enables you to identify the purpose of the
button includes the text within the link naming the notification it's
referred to. And the visual layout of the links and buttons also adds
context. So would you consider this headings and labels or label in name or
information and relationships or multiple or neither?

 

I would say the label is descriptive it's just not completely
programmatically associated and could be seen as a label in name fail, but
is this overly prescriptive?

 

Thanks

 

Sarah

 

 

 

Sent from Outlook for iOS <https://aka.ms/o0ukef> 

Received on Tuesday, 17 June 2025 04:23:13 UTC