isInaccessible function Null safety Accessibility

  1. @JS('rtl.isInaccessible')
bool isInaccessible(
  1. Element element
)

Returns whether or not element should be excluded from the accessibility API by the browser.

It implements every MUST criteria from the Excluding Elements from the Accessibility Tree section in WAI-ARIA 1.2 with the exception of checking the role attribute.

Learn more: testing-library.com/docs/dom-testing-library/api-accessibility/#isinaccessible

Implementation

@JS('rtl.isInaccessible')
external bool isInaccessible(Element element);