Skip to content

fix(a11y): add role=button and tabIndex to EventCell#2800

Open
mixelburg wants to merge 1 commit into
bigcalendar:masterfrom
mixelburg:fix/event-cell-role-button
Open

fix(a11y): add role=button and tabIndex to EventCell#2800
mixelburg wants to merge 1 commit into
bigcalendar:masterfrom
mixelburg:fix/event-cell-role-button

Conversation

@mixelburg
Copy link
Copy Markdown
Contributor

Fixes #2776

Month/allday view events (EventCell) were missing role="button" and tabIndex={0}, so screen readers could not identify them as interactive buttons. Time grid events (TimeGridEvent) already had these attributes.

Added the same role="button" and tabIndex={0} to EventCell so screen readers correctly announce these as buttons when navigating with keyboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Role is not defined for the 'Long event' button present in calendar in Windows.

1 participant