Skip to content

Commit

Permalink
fix: don't set aria-live containers to inert
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander committed Mar 28, 2020
1 parent 641610b commit ee5206e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/scripts/Pinecone/FilterList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class FilterList {
handleOverlay( event ) {
if ( ! event.target.closest( this.config.showCtrlSelector ) && ! event.target.closest( this.config.hideCtrlSelector ) ) return false;

const elems = document.querySelectorAll( 'body > *' );
const elems = document.querySelectorAll( 'body > *:not([aria-live])' );

if ( event.target.closest( this.config.showCtrlSelector ) ) {
document.body.classList.add( 'has-modal' );
Expand Down

0 comments on commit ee5206e

Please sign in to comment.