Skip to content

Commit 0af52bc

Browse files
mirkawidoz
authored andcommitted
Combobox: Label popup dialogs in stories (WordPress#83476)
Co-authored-by: mirka <0mirka00@git.wordpress.org>
1 parent 98455ab commit 0af52bc

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

‎packages/ui/src/form/primitives/combobox/stories/index.story.tsx‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const Default: Story = {
5858
items: ITEMS,
5959
children: [
6060
<Combobox.Trigger aria-label="Fruit" key="trigger" />,
61-
<Combobox.Popup key="popup">
61+
<Combobox.Popup aria-label="Fruit" key="popup">
6262
<div style={ inputWrapperStyle }>
6363
<Combobox.Input aria-label="Search" placeholder="Search" />
6464
</div>
@@ -92,7 +92,7 @@ export const Compact: Story = {
9292
aria-label="Fruit"
9393
key="trigger"
9494
/>,
95-
<Combobox.Popup key="popup">
95+
<Combobox.Popup aria-label="Fruit" key="popup">
9696
<div style={ inputWrapperStyle }>
9797
<Combobox.Input aria-label="Search" placeholder="Search" />
9898
</div>
@@ -208,7 +208,7 @@ export const Creatable: Story = {
208208
}
209209
>
210210
<Combobox.Trigger aria-label="Fruit" />
211-
<Combobox.Popup>
211+
<Combobox.Popup aria-label="Fruit">
212212
<div style={ inputWrapperStyle }>
213213
<Combobox.Input
214214
aria-label="Search"
@@ -301,7 +301,7 @@ export const AsyncItems: Story = {
301301
} }
302302
>
303303
<Combobox.Trigger aria-label="Fruit" />
304-
<Combobox.Popup>
304+
<Combobox.Popup aria-label="Fruit">
305305
<div style={ inputWrapperStyle }>
306306
<Combobox.Input
307307
aria-label="Search"
@@ -374,7 +374,7 @@ export const WithCustomTriggerAndItem: Story = {
374374
</span>
375375
) }
376376
</Combobox.Trigger>,
377-
<Combobox.Popup key="popup">
377+
<Combobox.Popup aria-label="Fruit" key="popup">
378378
<div style={ inputWrapperStyle }>
379379
<Combobox.Input aria-label="Search" placeholder="Search" />
380380
</div>
@@ -422,7 +422,7 @@ export const Grouped: Story = {
422422
items: GROUPED_ITEMS,
423423
children: [
424424
<Combobox.Trigger aria-label="Fruit" key="trigger" />,
425-
<Combobox.Popup key="popup">
425+
<Combobox.Popup aria-label="Fruit" key="popup">
426426
<div style={ inputWrapperStyle }>
427427
<Combobox.Input aria-label="Search" placeholder="Search" />
428428
</div>
@@ -480,6 +480,7 @@ export const WithCustomZIndex: Story = {
480480
children: [
481481
<Combobox.Trigger aria-label="Fruit" key="trigger" />,
482482
<Combobox.Popup
483+
aria-label="Fruit"
483484
positioner={
484485
<Combobox.Positioner
485486
style={ {

0 commit comments

Comments
 (0)