equalizedigital / accessibility-checker

GNU General Public License v2.0
14 stars 8 forks source link

Use `.currentTarget` rather than `.target` when looking for the aria-… #794

Closed pattonwebz closed 1 month ago

pattonwebz commented 1 month ago

Swap to using event.currentTarget rather than event.target for finding the element that holds the ID for modal content.

The previous attempt to resolve this assumed a different issue was the cause https://github.com/equalizedigital/accessibility-checker/pull/792. The code from that PR is mostly reverted here.

Checklist