Skip to content

Commit 23f989a

Browse files
authored
Revert "chore: remove unused statuses (#9698)"
This reverts commit 229450a.
1 parent 229450a commit 23f989a

1 file changed

Lines changed: 61 additions & 1 deletion

File tree

packages/blockly/core/utils/aria.ts

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,19 @@ export enum State {
123123
*
124124
* Value: one of {true, false}.
125125
*/
126-
ATOMIC = 'atomic',
126+
ATOMIC = 'ATOMIC',
127127
/**
128128
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-checked.
129129
*
130130
* Value: one of {true, false, mixed, undefined}.
131131
*/
132132
CHECKED = 'checked',
133+
/**
134+
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-colcount.
135+
*
136+
* Value: an integer representing the number of columns in a grid.
137+
*/
138+
COLCOUNT = 'colcount',
133139
/**
134140
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-controls.
135141
*
@@ -190,18 +196,72 @@ export enum State {
190196
* Value: one of {polite, assertive, off}.
191197
*/
192198
LIVE = 'live',
199+
/**
200+
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-orientation.
201+
*
202+
* Value: one of {horizontal, vertical, undefined}.
203+
*/
204+
ORIENTATION = 'orientation',
205+
/**
206+
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-posinset.
207+
*
208+
* Value: an integer representing the position of the element within a set of related elements.
209+
*/
210+
POSINSET = 'posinset',
211+
/**
212+
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-pressed.
213+
*
214+
* Value: one of {true, false, mixed, undefined}.
215+
*/
216+
PRESSED = 'pressed',
217+
/**
218+
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-readonly.
219+
*
220+
* Value: one of {true, false}.
221+
*/
222+
READONLY = 'readonly',
223+
/**
224+
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-required.
225+
*
226+
* Value: one of {true, false}.
227+
*/
228+
REQUIRED = 'required',
193229
/**
194230
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-roledescription.
195231
*
196232
* Value: a string.
197233
*/
198234
ROLEDESCRIPTION = 'roledescription',
235+
/**
236+
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-rowcount.
237+
*
238+
* Value: an integer representing the number of rows in a grid or table.
239+
*/
240+
ROWCOUNT = 'rowcount',
241+
/**
242+
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-rowindex.
243+
*
244+
* Value: an integer representing the index of the element within a set of related elements.
245+
*/
246+
ROWINDEX = 'rowindex',
247+
/**
248+
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-rowspan.
249+
*
250+
* Value: an integer representing the number of rows a cell spans in a grid or table.
251+
*/
252+
ROWSPAN = 'rowspan',
199253
/**
200254
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-selected.
201255
*
202256
* Value:one of {true, false, undefined}.
203257
*/
204258
SELECTED = 'selected',
259+
/**
260+
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-setsize.
261+
*
262+
* Value: an integer representing the total number of elements in a set of related elements.
263+
*/
264+
SETSIZE = 'setsize',
205265
/**
206266
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-valuemax.
207267
*

0 commit comments

Comments
 (0)