@carbon/ibm-products
Version:
Carbon for IBM Products
28 lines • 1.47 kB
TypeScript
/**
* Copyright IBM Corp. 2016, 2018
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* Various utilities to help with a11y work
*/
/**
* A flag `node.compareDocumentPosition(target)` returns,
* that indicates `target` is located earlier than `node` in the document or `target` contains `node`.
*/
export const DOCUMENT_POSITION_BROAD_PRECEDING: number;
/**
* A flag `node.compareDocumentPosition(target)` returns,
* that indicates `target` is located later than `node` in the document or `node` contains `target`.
*/
export const DOCUMENT_POSITION_BROAD_FOLLOWING: number;
/**
* CSS selector that selects major nodes that are sequential-focusable.
*/
export const selectorTabbable: "\n a[href], area[href], input:not([disabled]):not([tabindex='-1']),\n button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),\n textarea:not([disabled]):not([tabindex='-1']),\n iframe, object, embed, *[tabindex]:not([tabindex='-1']):not([disabled]), *[contenteditable=true]\n";
/**
* CSS selector that selects major nodes that are click focusable
*/
export const selectorFocusable: "\n a[href], area[href], input:not([disabled]),\n button:not([disabled]),select:not([disabled]),\n textarea:not([disabled]),\n iframe, object, embed, *[tabindex]:not([disabled]), *[contenteditable=true]\n";
//# sourceMappingURL=keyboardNavigation.d.ts.map