Skip to content

Questions about the toolbar role #2831

Description

@HadleyLuker

Describe your concern

The description for the toolbar role currently reads:

Authors MUST supply a label on each toolbar when the application contains more than one toolbar.

I have some questions about this.

  1. Does "label" mean "accessible name" here?
  2. Should this be a MUST?
    • I mean this question genuinely.
    • This requirement seems unique to the toolbar role, but I'm not sure why.
    • Instinctually, MUST seems too restrictive.
      • I often see authors use the toolbar role as a non-focusable, standalone grouping for buttons without a menubar ancestor.
      • I think that is valid usage per the specification at this time.
      • However, in that context, I think there are ways for users to determine the purpose of the toolbar without an accessible name on the toolbar.
      • For example, depending on the structure of the page, users may be able to use the previous heading to determine the purpose of the toolbar.
    • SHOULD seems more appropriate.
      • According to my current understanding, I would expect the requirements for toolbar to be quite similar to those for the radiogroup role.

Please let me know if I am missing anything!

Link to the version of the specification or documentation you were looking at at.

Link to documentation: https://w3c.github.io/aria/#toolbar

Does the issue exists in the editors draft (the editors draft is the most recent draft of the specification)?

Yes

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions