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:
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:
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 with
role="region"and appropriatearia-label, and use aria live regions with roles such asstatusandalertfor the alerts and notifications.Additional info