We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Box
1 parent 4e33e1c commit 30cdd2eCopy full SHA for 30cdd2e
.changeset/sixty-squids-promise.md
@@ -0,0 +1,5 @@
1
+---
2
+'@shopify/polaris': minor
3
4
+
5
+Updated `Box` allowable aria roles
polaris-react/src/components/Box/Box.tsx
@@ -151,7 +151,10 @@ export interface BoxProps extends React.AriaAttributes {
151
*/
152
paddingInlineEnd?: Spacing;
153
/** Aria role */
154
- role?: Extract<React.AriaRole, 'status' | 'presentation' | 'menu'>;
+ role?: Extract<
155
+ React.AriaRole,
156
+ 'status' | 'presentation' | 'menu' | 'listbox' | 'combobox'
157
+ >;
158
/** Shadow on box */
159
shadow?: DepthShadowAlias;
160
/** Set tab order */
0 commit comments