Skip to content

Commit

Permalink
Fix: notify aria-labelledby element id (fixes #152) (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirsty-hames authored Nov 4, 2024
1 parent 789262e commit 1be4cb6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions templates/hotgridPopup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,8 @@ export default function HotgridPopup(props) {

{title &&
<div
className={classes([
'hotgrid-popup__item-title',
_isActive && 'notify-heading'
])}
id={_isActive && 'notify-heading'}
className="hotgrid-popup__item-title"
role="heading"
aria-level={a11y.ariaLevel({ level: 'notify' })}
>
Expand Down

0 comments on commit 1be4cb6

Please sign in to comment.