You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code (I assume) is trying to send the \b to the regex, but its being escaped by the JS
Should be something like "\b" + errorID + "\b"?
CODE:
} else if ( !describedBy.match( new RegExp( "\b" + errorID + "\b" ) ) ) {
// Add to end of list if not already present
describedBy += " " + errorID;
}
This creates loads of duplicate aria-describedby in the markup