Skip to content

[BUG] Date buttons don't have 'button' role #387

@PaulKiddle

Description

@PaulKiddle

Describe the bug

The date buttons have their role set to gricell instead of button, which confuses some accessibility software, for example Dragon Naturally Speaking

Steps to reproduce

Visit https://vanilla-calendar.pro/
Start Dragon Naturally Speaking
Use the "Show Links" voice command
The calendar buttons are not highlighted by Dragon Naturally Speaking

Expected behavior
The calendar buttons should be enumerated by Dragon Naturally Speaking

Additional context

This can probably be solved by wrapping the buttons in a span with role=gridcell and display: contents, and removing role=gricell from the buttons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions