Skip to content

All page content must be contained by landmarks #7139

@missmatsuko

Description

@missmatsuko

Description

Deque University: All page content must be contained by landmarks

Screen reader users may have trouble accessing elements that are not contained within landmarks.

Identified elements which are not contained in landmarks:

  • Elements that appear at the top of the main content area, including:
    • #user-info button
    • alerts
    • notifications

I think ideally these would all go in a header element, along with the global sidebar. However, this is probably difficult due to the layout.

For now I suggest wrapping the user-info button in an element withrole="region" and appropriate aria-label, and use aria live regions with roles such as status and alert for the alerts and notifications.

Additional info

  • Craft version: 3.5.15.1
  • PHP version:
  • Database driver & version:
  • Plugins & versions:

Metadata

Metadata

Assignees

Labels

Type

No type
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