fix: aria-hidden return string instead of boolean

This commit is contained in:
alistair3149 2023-07-28 03:27:42 -04:00 committed by GitHub
parent f6435de56a
commit 7c95e570a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ function initTabber( tabber, count ) {
const updateSectionHeight = function ( section, panel ) {
/* Exit early if it is not the active panel */
if ( panel.getAttribute( 'aria-hidden' ) !== false ) {
if ( panel.getAttribute( 'aria-hidden' ) !== 'false' ) {
return;
}