Skip to content

fix a markup bug with multiple aria-current attr have page values - #252

Merged
masao merged 1 commit into
mainfrom
fix/aria-current-multiple-page
Jul 12, 2026
Merged

fix a markup bug with multiple aria-current attr have page values#252
masao merged 1 commit into
mainfrom
fix/aria-current-multiple-page

Conversation

@masao

@masao masao commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

Fix the breadcrumb markup so that aria-current="page" is applied only to the current page item.

Previously, multiple breadcrumb items were marked with aria-current="page", resulting in invalid or misleading accessibility markup. This change ensures that only the active breadcrumb item is identified as the current page.

A regression test has also been added to verify that each breadcrumb contains exactly one element with aria-current="page".

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation or other updates (if none of the other choices apply)

@masao
masao merged commit 0833710 into main Jul 12, 2026
19 checks passed
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.

1 participant