From da34663407bd949aa8744eeac3841a5b7f803e70 Mon Sep 17 00:00:00 2001 From: Michael Harvey <43474485+mikeharv@users.noreply.github.com> Date: Fri, 10 Apr 2026 16:52:29 -0400 Subject: [PATCH] Revert "Revert "chore: remove unused statuses (#9698)" (#9700)" This reverts commit 956f049dbd9956e54435ebfd11021ef6670e5a4b. --- packages/blockly/core/utils/aria.ts | 62 +---------------------------- 1 file changed, 1 insertion(+), 61 deletions(-) diff --git a/packages/blockly/core/utils/aria.ts b/packages/blockly/core/utils/aria.ts index 5837adead83..0d3dfd7cc7c 100644 --- a/packages/blockly/core/utils/aria.ts +++ b/packages/blockly/core/utils/aria.ts @@ -123,19 +123,13 @@ export enum State { * * Value: one of {true, false}. */ - ATOMIC = 'ATOMIC', + ATOMIC = 'atomic', /** * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-checked. * * Value: one of {true, false, mixed, undefined}. */ CHECKED = 'checked', - /** - * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-colcount. - * - * Value: an integer representing the number of columns in a grid. - */ - COLCOUNT = 'colcount', /** * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-controls. * @@ -196,72 +190,18 @@ export enum State { * Value: one of {polite, assertive, off}. */ LIVE = 'live', - /** - * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-orientation. - * - * Value: one of {horizontal, vertical, undefined}. - */ - ORIENTATION = 'orientation', - /** - * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-posinset. - * - * Value: an integer representing the position of the element within a set of related elements. - */ - POSINSET = 'posinset', - /** - * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-pressed. - * - * Value: one of {true, false, mixed, undefined}. - */ - PRESSED = 'pressed', - /** - * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-readonly. - * - * Value: one of {true, false}. - */ - READONLY = 'readonly', - /** - * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-required. - * - * Value: one of {true, false}. - */ - REQUIRED = 'required', /** * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-roledescription. * * Value: a string. */ ROLEDESCRIPTION = 'roledescription', - /** - * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-rowcount. - * - * Value: an integer representing the number of rows in a grid or table. - */ - ROWCOUNT = 'rowcount', - /** - * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-rowindex. - * - * Value: an integer representing the index of the element within a set of related elements. - */ - ROWINDEX = 'rowindex', - /** - * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-rowspan. - * - * Value: an integer representing the number of rows a cell spans in a grid or table. - */ - ROWSPAN = 'rowspan', /** * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-selected. * * Value:one of {true, false, undefined}. */ SELECTED = 'selected', - /** - * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-setsize. - * - * Value: an integer representing the total number of elements in a set of related elements. - */ - SETSIZE = 'setsize', /** * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-valuemax. *