Skip to content

[scheduler] Add missing ARIA attributes to side panel toggle and resources legend#22012

Open
mixelburg wants to merge 1 commit intomui:masterfrom
mixelburg:fix/scheduler-a11y-side-panel-toggle
Open

[scheduler] Add missing ARIA attributes to side panel toggle and resources legend#22012
mixelburg wants to merge 1 commit intomui:masterfrom
mixelburg:fix/scheduler-a11y-side-panel-toggle

Conversation

@mixelburg
Copy link
Copy Markdown
Contributor

Closes #21982
Closes #21983
Closes #21984

Summary

Three accessibility improvements to the EventCalendar scheduler:

Side panel toggle button (HeaderToolbar) — issue #21982:

  • Added aria-expanded={isSidePanelOpen} so screen readers can report whether the panel is open or closed
  • Added aria-controls="event-calendar-side-panel" linking the button to the panel it controls, matching the pattern already used by PreferencesMenu

Side panel when collapsed — issue #21983:

  • Added id="event-calendar-side-panel" to EventCalendarSidePanel (the aria-controls target)
  • Added aria-hidden={!isSidePanelOpen} so collapsed panel content is hidden from the accessibility tree

Resources legend section — issue #21984:

  • Replaced aria-label (which differed from the visible label) with aria-labelledby pointing to the visible "Resources" label
  • Added id to ResourcesLegendLabel so both sighted and screen reader users get the same label text

…a-hidden to collapsed panel, and aria-labelledby to resources legend
@mui-bot
Copy link
Copy Markdown

mui-bot commented Apr 7, 2026

Deploy preview: https://deploy-preview-22012--material-ui-x.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/x-data-grid 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-pro 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-premium 0B(0.00%) 0B(0.00%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 2a82288

@zannager zannager added the scope: scheduler Changes related to the scheduler. label Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: scheduler Changes related to the scheduler.

Projects

None yet

3 participants