GoScrobble/web/node_modules/dom-accessibility-api/dist/accessible-name.d.ts

9 lines
467 B
TypeScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import { ComputeTextAlternativeOptions } from "./accessible-name-and-description";
/**
* implements https://w3c.github.io/accname/#mapping_additional_nd_name
* @param root
* @param [options]
* @parma [options.getComputedStyle] - mock window.getComputedStyle. Needs `content`, `display` and `visibility`
*/
export declare function computeAccessibleName(root: Element, options?: ComputeTextAlternativeOptions): string;
//# sourceMappingURL=accessible-name.d.ts.map