accessible-description.d.ts 488 B

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