accessible-name.d.ts 467 B

123456789
  1. import { ComputeTextAlternativeOptions } from "./accessible-name-and-description";
  2. /**
  3. * implements https://w3c.github.io/accname/#mapping_additional_nd_name
  4. * @param root
  5. * @param [options]
  6. * @parma [options.getComputedStyle] - mock window.getComputedStyle. Needs `content`, `display` and `visibility`
  7. */
  8. export declare function computeAccessibleName(root: Element, options?: ComputeTextAlternativeOptions): string;
  9. //# sourceMappingURL=accessible-name.d.ts.map