Skip to content

Commit fe73b27

Browse files
committed
frontend: Dialog: Provide automatic aria-labelledby for accessibility
1 parent 46be107 commit fe73b27

27 files changed

+41
-4
lines changed

frontend/src/components/App/Settings/__snapshots__/ShortcutsSettings.Default.stories.storyshot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
>
4040
<h1
4141
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
42+
id=":mock-test-id:"
4243
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
4344
tabindex="-1"
4445
>

frontend/src/components/App/__snapshots__/VersionDialog.VersionDialog.stories.storyshot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
>
4242
<h1
4343
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
44+
id=":mock-test-id:"
4445
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
4546
>
4647
Headlamp

frontend/src/components/account/__snapshots__/AuthToken.ShowActions.stories.storyshot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
>
8787
<h1
8888
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
89+
id="authtoken-dialog-title"
8990
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
9091
>
9192
a title

frontend/src/components/account/__snapshots__/AuthToken.ShowError.stories.storyshot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
>
110110
<h1
111111
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
112+
id="authtoken-dialog-title"
112113
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
113114
>
114115
a title

frontend/src/components/authchooser/__snapshots__/AuthChooser.AnError.stories.storyshot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
>
8686
<h1
8787
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
88+
id="authchooser-dialog-title"
8889
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
8990
tabindex="-1"
9091
>

frontend/src/components/authchooser/__snapshots__/AuthChooser.AuthTypeoidc.stories.storyshot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
>
8686
<h1
8787
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
88+
id="authchooser-dialog-title"
8889
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
8990
tabindex="-1"
9091
>

frontend/src/components/authchooser/__snapshots__/AuthChooser.BasicAuthChooser.stories.storyshot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
>
8686
<h1
8787
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
88+
id="authchooser-dialog-title"
8889
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
8990
tabindex="-1"
9091
>

frontend/src/components/authchooser/__snapshots__/AuthChooser.HaveClusters.stories.storyshot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
>
8686
<h1
8787
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
88+
id="authchooser-dialog-title"
8889
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
8990
tabindex="-1"
9091
>

frontend/src/components/authchooser/__snapshots__/AuthChooser.Testing.stories.storyshot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
>
8686
<h1
8787
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
88+
id="authchooser-dialog-title"
8889
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
8990
tabindex="-1"
9091
>

frontend/src/components/cluster/__snapshots__/Chooser.ManyClusters.stories.storyshot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
>
136136
<h1
137137
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
138+
id="chooser-dialog-title"
138139
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
139140
tabindex="-1"
140141
>

0 commit comments

Comments
 (0)