Skip to content

Commit 27cbcf1

Browse files
committed
fix(jump-links): update default label
1 parent 17abdfc commit 27cbcf1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

elements/pf-jump-links/pf-jump-links.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ export class PfJumpLinks extends LitElement {
7272
/** Offset to add to the scroll position, potentially for a masthead which content scrolls under. */
7373
@property({ type: Number }) offset = 0;
7474

75-
/** Label to add to nav element. */
76-
@property({ reflect: true }) label = 'Jump links';
75+
/** Label to add to nav element. Required for accessibility. */
76+
@property({ reflect: true }) label = 'Jump to section';
7777

7878
#kids = this.querySelectorAll?.<LitElement>(':is(pf-jump-links-item, pf-jump-links-list)');
7979

0 commit comments

Comments
 (0)