@instructure/ui-table 11.0.1 → 11.0.2-snapshot-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [11.0.2-snapshot-1](https://github.com/instructure/instructure-ui/compare/v11.0.1...v11.0.2-snapshot-1) (2025-10-17)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ui-table:** fix selectable table screen reader issue on select all checkbox in the column header ([93a9847](https://github.com/instructure/instructure-ui/commit/93a9847800eea63e874587d19cf06c76bcb9ab95))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [11.0.1](https://github.com/instructure/instructure-ui/compare/v11.0.0...v11.0.1) (2025-10-13)
7
18
 
8
19
  **Note:** Version bump only for package @instructure/ui-table
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-table",
3
- "version": "11.0.1",
3
+ "version": "11.0.2-snapshot-1",
4
4
  "description": "A styled HTML table component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,10 +23,10 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-axe-check": "11.0.1",
27
- "@instructure/ui-babel-preset": "11.0.1",
28
- "@instructure/ui-color-utils": "11.0.1",
29
- "@instructure/ui-themes": "11.0.1",
26
+ "@instructure/ui-axe-check": "11.0.2-snapshot-1",
27
+ "@instructure/ui-babel-preset": "11.0.2-snapshot-1",
28
+ "@instructure/ui-color-utils": "11.0.2-snapshot-1",
29
+ "@instructure/ui-themes": "11.0.2-snapshot-1",
30
30
  "@testing-library/jest-dom": "^6.6.3",
31
31
  "@testing-library/react": "15.0.7",
32
32
  "@testing-library/user-event": "^14.6.1",
@@ -34,15 +34,15 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@babel/runtime": "^7.27.6",
37
- "@instructure/console": "11.0.1",
38
- "@instructure/emotion": "11.0.1",
39
- "@instructure/shared-types": "11.0.1",
40
- "@instructure/ui-a11y-content": "11.0.1",
41
- "@instructure/ui-icons": "11.0.1",
42
- "@instructure/ui-react-utils": "11.0.1",
43
- "@instructure/ui-simple-select": "11.0.1",
44
- "@instructure/ui-utils": "11.0.1",
45
- "@instructure/ui-view": "11.0.1"
37
+ "@instructure/console": "11.0.2-snapshot-1",
38
+ "@instructure/emotion": "11.0.2-snapshot-1",
39
+ "@instructure/shared-types": "11.0.2-snapshot-1",
40
+ "@instructure/ui-a11y-content": "11.0.2-snapshot-1",
41
+ "@instructure/ui-icons": "11.0.2-snapshot-1",
42
+ "@instructure/ui-react-utils": "11.0.2-snapshot-1",
43
+ "@instructure/ui-simple-select": "11.0.2-snapshot-1",
44
+ "@instructure/ui-utils": "11.0.2-snapshot-1",
45
+ "@instructure/ui-view": "11.0.2-snapshot-1"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": ">=18 <=19"
@@ -515,10 +515,10 @@ const SelectableTable = ({
515
515
  }
516
516
  >
517
517
  <Table.Row>
518
- <Table.ColHeader id="select">
518
+ <Table.ColHeader id="select" aria-label="Select">
519
519
  <Checkbox
520
520
  label={
521
- <ScreenReaderContent>Select all</ScreenReaderContent>
521
+ <ScreenReaderContent>Select all rows</ScreenReaderContent>
522
522
  }
523
523
  onChange={() => handleSelectAll(allSelected)}
524
524
  checked={allSelected}
@@ -1141,3 +1141,15 @@ type: embed
1141
1141
  </Figure>
1142
1142
  </Guidelines>
1143
1143
  ```
1144
+
1145
+ ```js
1146
+ ---
1147
+ type: embed
1148
+ ---
1149
+ <Guidelines>
1150
+ <Figure recommendation="a11y" title="Accessibility">
1151
+ <Figure.Item>In the case of a Table with selection, to prevent screenreaders from announcing the label of the select all checkbox when navigating in the rows, an aria-label should be added to the corresponding Table.Colheader like in our example above.
1152
+ </Figure.Item>
1153
+ </Figure>
1154
+ </Guidelines>
1155
+ ```