Skip to content

fix(jump-links): add aria-label to nav landmark#3092

Closed
bennypowers wants to merge 3 commits intomainfrom
fix/jump-links-nav-label
Closed

fix(jump-links): add aria-label to nav landmark#3092
bennypowers wants to merge 3 commits intomainfrom
fix/jump-links-nav-label

Conversation

@bennypowers
Copy link
Copy Markdown
Member

Summary

Adds aria-label to the shadow root <nav> in pf-jump-links,
defaulting to "Page section navigation". Set the label attribute
to customize it.

Closes #2860

Test plan

  • Verify <nav> has aria-label="Page section navigation" by default
  • Verify custom label attribute overrides the aria-label
  • Run axe on a page with pf-jump-links alongside another <nav>

Closes #2860

Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 15, 2026

🦋 Changeset detected

Latest commit: e75cd85

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@patternfly/elements Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 15, 2026

Deploy Preview for patternfly-elements ready!

Name Link
🔨 Latest commit 291f30d
😎 Deploy Preview https://deploy-preview-3092--patternfly-elements.netlify.app/

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 15, 2026

✅ Commitlint tests passed!

More Info
{
  "valid": true,
  "errors": [],
  "warnings": [],
  "input": "fix(jump-links): add aria-label to nav landmark"
}

@github-actions github-actions bot added the AT passed Automated testing has passed label Apr 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for a9d2584: Report

@github-actions

This comment has been minimized.

@bennypowers bennypowers enabled auto-merge (squash) April 15, 2026 13:13
@bennypowers bennypowers requested a review from adamjohnson April 15, 2026 15:55
@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for 291f30d: Report

auto-merge was automatically disabled April 15, 2026 17:46

Pull request was closed

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

Labels

AT passed Automated testing has passed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pf-jump-links shadow root nav container axeDevTools error ('Landmarks should have a unique role or role/label/title (i.e. accessible name) combination')

1 participant