Skip to content

[BUG] Accessibility (A11Y): Multiple ARIA violations detected by axe-core #408

@Sakchai-Refinitiv

Description

@Sakchai-Refinitiv

Describe the bug
When running automated accessibility audits using axe-core (v4.11.x), Vanilla Calendar Pro v3.1.0 produces several ARIA violations that break WCAG 2.1 compliance. The issues affect the grid/row hierarchy, invalid ARIA attributes, and duplicate aria-selected placement.

Steps to reproduce

  1. Go to the example below
  2. Click the scan button
  3. See the isses in the scan result
  4. And then click on the month select button
  5. Click the scan button again
  6. You will see more issues

Expected behavior
The calendar should render with a valid ARIA structure that passes axe-core audits with zero violations

CodeSandbox example
https://codepen.io/shcodepentr/pen/XJjRzNZ

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