v7.1.2
Fixed 9
- Events in DayGrid cells, TimeGrid columns, Timeline lanes and +more popovers are enclosed in a list (role="list", each event in a role="listitem" wrapper) so screen readers can step through them one at a time
- List view events with a url keep their link semantics by wrapping events in list items instead of putting the listitem role on the event itself
- Day headers without navLinks, TimeGrid's week-number header and the Timed row header are no longer read as empty by screen readers, because their text is now visually-hidden content instead of only an aria-label
- DayGrid day cells expose the full date as visually-hidden content in cells showing a day number, so the aria-label is no longer ignored or read as blank
- Column-header nav links are labeled with just the date instead of "Go to …", while navLinkHint is still used for other nav links
- DayGrid, TimeGrid, MultiMonth and Resource Timeline use a table with role="cell" cells instead of a grid, so JAWS no longer switches to forms mode and arrow keys work when Tab lands on an event; Resource Timeline with nested resources or row groups remains a treegrid
- Empty wrapper elements within day cells are role="presentation" and background events, non-business hours and selection highlights are aria-hidden, so screen readers no longer announce empty groups
- The blank resource header in Resource TimeGrid/DayGrid with filterResourcesWithEvents and datesAboveResources is now an empty cell instead of an empty columnheader, resolving axe warnings
- Hidden measurement elements (+more link, Resource Timeline expander and column divider) use visibility: hidden instead of inert so they cannot be focused or read by screen readers
From fullcalendar
:accessibility: Accessibility Fixes
- FIX: Events in DayGrid cells, TimeGrid columns, Timeline lanes and +more popovers are enclosed in a list (
role="list", each event in arole="listitem"wrapper), so screen readers can step through them one at a time instead of reading a day or lane as one block - FIX: List view, events with a
urllost their link semantics, because thelistitemrole was on the event itself. Events are now wrapped in list items (#7567) - FIX: Day headers (without
navLinks), TimeGrid's week-number header and "Timed" row header were read as empty and flagged by axe, because their text was only anaria-label. The text is now visually-hidden content (#7566, #6641) - FIX: DayGrid day cells'
aria-labelwas ignored or read as blank. The full date is now visually-hidden content, only in cells showing a day number (otherwise the column header already reads the date) (#7566, #6637, #6641, #7502) - FIX: Column-header nav links were labeled "Go to …", which was repeated as the column name for every cell. They're now labeled with just the date (
navLinkHintis still used for other nav links) - FIX: JAWS switched to forms mode when Tab landed on an event, so the arrow keys did nothing. DayGrid, TimeGrid, MultiMonth and Resource Timeline are now a
table(cellsrole="cell") rather than agrid. Resource Timeline with nested resources or row groups remains atreegrid(#6641) - FIX: Screen readers announced empty "group"s within day cells. Empty wrappers are now
role="presentation", and background events, non-business hours and selection highlights arearia-hidden - FIX: Resource TimeGrid/DayGrid with
filterResourcesWithEventsanddatesAboveResources, the blank resource header was an emptycolumnheader, flagged by axe. It's now an emptycell - FIX: Hidden elements used for measurement (+more link, Resource Timeline expander and column divider) use
visibility: hiddeninstead ofinert, so none can be focused or read by screen readers