mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-03 06:27:46 +08:00
Merge pull request #24321 from craigkovatch/master
Add missing `aria-controls` attribute to @types/react WAI-ARIA attributes
This commit is contained in:
5
types/react/index.d.ts
vendored
5
types/react/index.d.ts
vendored
@@ -2535,6 +2535,11 @@ declare namespace React {
|
||||
* @see aria-colindex @see aria-rowspan.
|
||||
*/
|
||||
'aria-colspan'?: number;
|
||||
/**
|
||||
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
||||
* @see aria-owns.
|
||||
*/
|
||||
'aria-controls'?: string;
|
||||
/** Indicates the element that represents the current item within a container or set of related elements. */
|
||||
'aria-current'?: boolean | 'false' | 'true' | 'page' | 'step' | 'location' | 'date' | 'time';
|
||||
/**
|
||||
|
||||
5
types/react/v15/index.d.ts
vendored
5
types/react/v15/index.d.ts
vendored
@@ -2481,6 +2481,11 @@ declare namespace React {
|
||||
* @see aria-colindex @see aria-rowspan.
|
||||
*/
|
||||
'aria-colspan'?: number;
|
||||
/**
|
||||
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
||||
* @see aria-owns.
|
||||
*/
|
||||
'aria-controls'?: string;
|
||||
/** Indicates the element that represents the current item within a container or set of related elements. */
|
||||
'aria-current'?: boolean | 'false' | 'true' | 'page' | 'step' | 'location' | 'date' | 'time';
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user