Closed Willdta closed 1 year ago
Inside the dialog.js file the function getInitialFocusElement_() function wrongly checks for the is-initial-focus data attribute. It detects any attribute relating to the name but doesn't check if the data attributes value is true.
dialog.js
getInitialFocusElement_()
is-initial-focus
Notes
Was not able to run tests/lint
Inside the
dialog.js
file the functiongetInitialFocusElement_()
function wrongly checks for theis-initial-focus
data attribute. It detects any attribute relating to the name but doesn't check if the data attributes value is true.Notes
Was not able to run tests/lint