We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1377f14 commit cb7cb29Copy full SHA for cb7cb29
2 files changed
.changeset/fix-jump-links-nav.md
@@ -0,0 +1,7 @@
1
+---
2
+"@patternfly/elements": patch
3
4
+
5
+`pf-jump-links`: the shadow root `<nav>` element now has a default
6
+`aria-label` of "Page section navigation". Set the `label` attribute
7
+to customize it.
elements/pf-jump-links/pf-jump-links.ts
@@ -84,7 +84,7 @@ export class PfJumpLinks extends LitElement {
84
85
render(): TemplateResult<1> {
86
return html`
87
- <nav id="container">${this.expandable ? html`
+ <nav id="container" aria-label="${this.label || 'Page section navigation'}">${this.expandable ? html`
88
<details ?open="${this.expanded}" @toggle="${this.#onToggle}">
89
<summary>
90
<pf-icon icon="chevron-right"></pf-icon>
0 commit comments