Merge pull request #24321 from craigkovatch/master

Add missing `aria-controls` attribute to @types/react WAI-ARIA attributes
This commit is contained in:
Nathan Shively-Sanders
2018-03-27 09:38:43 -07:00
committed by GitHub
2 changed files with 10 additions and 0 deletions

View File

@@ -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';
/**

View File

@@ -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';
/**