fix(controller): treat interactive with aria as distinct
This commit is contained in:
@@ -1334,6 +1334,10 @@ export default (
|
|||||||
if (element.hasAttribute('onclick') || typeof element.onclick === 'function') {
|
if (element.hasAttribute('onclick') || typeof element.onclick === 'function') {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
// ARIA state attributes imply the element manages its own interaction state
|
||||||
|
if (hasInteractiveAria(element)) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
// return false
|
// return false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user