Skip to content

Commit 367935f

Browse files
authored
Fix: Add aria-disabled attribute to PLP Drawer item (fixes #257)
1 parent dd0b0e6 commit 367935f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/pageLevelProgressItem.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export default function PageLevelProgressItem(props) {
6969
isIncorrect && `${_globals._accessibility._ariaLabels.answeredIncorrectly}.`,
7070
compile(a11y.normalize(altTitle || title))
7171
])}
72+
aria-disabled={(_isLocked || !_isVisible) ? true : null}
7273
>
7374

7475
<span className="pagelevelprogress__item-title drawer__item-title">

0 commit comments

Comments
 (0)