Skip to content

ARIA Spec could be more flexible when elements with "nameFrom:author" are left unlabeled by the author #138

@cookiecrook

Description

@cookiecrook

I received the following bug report from a member of my team.

Summary:
Web AX, VoiceOver: When browsing list of articles using VO Articles rotor on [site redacted], VO announces each item as "Article" without speaking headline

Steps To Reproduce:

  1. Turn on VoiceOver.
  2. Open Safari and browse to [site redacted].
  3. Press VO-U to bring up rotors.
  4. Press VO-Right arrow repeatedly to select “Articles” rotor.
  5. Explore rotor items by pressing VO-Down arrow.

Results:
When using VO’s Articles rotor, VO does show all the articles presented on [site redacted], but only speaks each item as “Article” without providing any additional info, such as the article’s headline. For better clarity, VO should speak some additional information here.

Upon closer inspection, the articles are not labeled but they all have a heading in close proximity to the start of the article element. For the sake of the user, we could probably work around this web page error heuristically in either WebKit or VoiceOver, but the ARIA spec appears to explicitly discourage this.

The ARIA spec could add some language explicitly allowing user agents to heuristically determine the label for unlabeled elements whose label has not been set by the author. In this case, the most logical choice would be to find the first heading in the article.

Perhaps: "User Agents MAY use heuristics to determine the label of an unlabeled element, if the role characteristics include nameFrom: author. For example, browsers may set the label of an unlabeled dialog to be the first heading in that dialog."

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions