Skip to content

Commit 1be4cb6

Browse files
authored
Fix: notify aria-labelledby element id (fixes #152) (#153)
1 parent 789262e commit 1be4cb6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

templates/hotgridPopup.jsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,8 @@ export default function HotgridPopup(props) {
5050

5151
{title &&
5252
<div
53-
className={classes([
54-
'hotgrid-popup__item-title',
55-
_isActive && 'notify-heading'
56-
])}
53+
id={_isActive && 'notify-heading'}
54+
className="hotgrid-popup__item-title"
5755
role="heading"
5856
aria-level={a11y.ariaLevel({ level: 'notify' })}
5957
>

0 commit comments

Comments
 (0)