Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update snapshots for pr/24319 #1683

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
155 changes: 93 additions & 62 deletions lib/a11y-snapshot/__snapshots__/aom.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3120,9 +3120,9 @@ exports[`chromium /components/buttons/ 1`] = `
</listitem>
</list>
<heading level="2">
Contained buttons
Contained Buttons
<Anchor></Anchor>
<text>Contained buttons</text>
<text>Contained Buttons</text>
</heading>
<paragraph>
<link>Contained buttons</link>
Expand Down Expand Up @@ -3186,9 +3186,9 @@ exports[`chromium /components/buttons/ 1`] = `
<code>$SOME_CODE</code>
</Pre>
<heading level="2">
Text buttons
Text Buttons
<Anchor></Anchor>
<text>Text buttons</text>
<text>Text Buttons</text>
</heading>
<paragraph>
<link>Text buttons</link>
Expand Down Expand Up @@ -3245,9 +3245,9 @@ exports[`chromium /components/buttons/ 1`] = `
<code>$SOME_CODE</code>
</Pre>
<heading level="2">
Outlined buttons
Outlined Buttons
<Anchor></Anchor>
<text>Outlined buttons</text>
<text>Outlined Buttons</text>
</heading>
<paragraph>
<link>Outlined buttons</link>
Expand Down Expand Up @@ -3409,7 +3409,7 @@ exports[`chromium /components/buttons/ 1`] = `
</heading>
<paragraph>
<text>
Sometimes you might want to have icons for certain buttons to enhance the
Sometimes you might want to have icons for certain button to enhance the
UX of the application as we recognize logos more easily than plain text.
For example, if you have a delete button you can label it with a dustbin
icon.
Expand All @@ -3427,22 +3427,35 @@ exports[`chromium /components/buttons/ 1`] = `
SEND
<text>SEND</text>
</button>
<button>
UPLOAD
<text>UPLOAD</text>
</button>
<button disabled="true">
TALK
<text>TALK</text>
</button>
<button>
SAVE
<text>SAVE</text>
</button>
<button>
SAVE
<text>SAVE</text>
</button>
<toolbar>
demo source
<button>Show the full source</button>
<button>Show the source</button>
<button>Edit in CodeSandbox</button>
<button>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<combobox haspopup="menu">See more</combobox>
</toolbar>
<Pre>
<code>$SOME_CODE</code>
</Pre>
<heading level="2">
Icon button
Icon Buttons
<Anchor></Anchor>
<text>Icon button</text>
<text>Icon Buttons</text>
</heading>
<paragraph>
<text>Icon buttons are commonly found in app bars and toolbars.</text>
Expand Down Expand Up @@ -3594,9 +3607,9 @@ exports[`chromium /components/buttons/ 1`] = `
<combobox haspopup="menu">See more</combobox>
</toolbar>
<heading level="2">
Complex buttons
Complex Buttons
<Anchor></Anchor>
<text>Complex buttons</text>
<text>Complex Buttons</text>
</heading>
<paragraph>
<text>
Expand All @@ -3605,7 +3618,7 @@ exports[`chromium /components/buttons/ 1`] = `
</text>
<code>$SOME_CODE</code>
<text>
. You can take advantage of this lower-level component to build custom
. You can take advantage of this lower level component to build custom
interactions.
</text>
</paragraph>
Expand Down Expand Up @@ -6287,9 +6300,9 @@ exports[`chromium /components/pickers 1`] = `
<text>.</text>
</paragraph>
<heading level="3">
Date picker
Datepickers
<Anchor></Anchor>
<text>Date picker</text>
<text>Datepickers</text>
</heading>
<paragraph>
<text>A native datepicker example with</text>
Expand All @@ -6304,6 +6317,7 @@ exports[`chromium /components/pickers 1`] = `
<Label>
<text>Birthday</text>
</Label>
<text> </text>
<Date value="2017-05-24">
Birthday
<spinbutton value="5" valuemax="12" valuemin="1" valuetext="05">
Expand Down Expand Up @@ -6335,9 +6349,9 @@ exports[`chromium /components/pickers 1`] = `
<code>$SOME_CODE</code>
</Pre>
<heading level="3">
Date & Time picker
Date & Time pickers
<Anchor></Anchor>
<text>Date & Time picker</text>
<text>Date & Time pickers</text>
</heading>
<paragraph>
<text>A native date & time picker example with</text>
Expand All @@ -6352,6 +6366,7 @@ exports[`chromium /components/pickers 1`] = `
<Label>
<text>Next appointment</text>
</Label>
<text> </text>
<DateTime value="2017-05-24T10:30">
Next appointment
<spinbutton value="5" valuemax="12" valuemin="1" valuetext="05">
Expand Down Expand Up @@ -6398,9 +6413,9 @@ exports[`chromium /components/pickers 1`] = `
<code>$SOME_CODE</code>
</Pre>
<heading level="3">
Time picker
Time pickers
<Anchor></Anchor>
<text>Time picker</text>
<text>Time pickers</text>
</heading>
<paragraph>
<text>A native time picker example with</text>
Expand All @@ -6415,6 +6430,7 @@ exports[`chromium /components/pickers 1`] = `
<Label>
<text>Alarm clock</text>
</Label>
<text> </text>
<InputTime value="07:30">
Alarm clock
<spinbutton value="7" valuemax="12" valuemin="1" valuetext="07">
Expand Down Expand Up @@ -16349,9 +16365,9 @@ exports[`firefox /components/buttons/ 1`] = `
</listitem>
</list>
<heading level="2">
Contained buttons
Contained Buttons
<link></link>
<text>Contained buttons</text>
<text>Contained Buttons</text>
</heading>
<paragraph>
<link>Contained buttons</link>
Expand Down Expand Up @@ -16419,9 +16435,9 @@ exports[`firefox /components/buttons/ 1`] = `
elevation </Button>
</text>
<heading level="2">
Text buttons
Text Buttons
<link></link>
<text>Text buttons</text>
<text>Text Buttons</text>
</heading>
<paragraph>
<link>Text buttons</link>
Expand Down Expand Up @@ -16479,9 +16495,9 @@ exports[`firefox /components/buttons/ 1`] = `
href="#text-buttons">Link</Button>
</text>
<heading level="2">
Outlined buttons
Outlined Buttons
<link></link>
<text>Outlined buttons</text>
<text>Outlined Buttons</text>
</heading>
<paragraph>
<link>Outlined buttons</link>
Expand Down Expand Up @@ -16649,7 +16665,7 @@ exports[`firefox /components/buttons/ 1`] = `
</heading>
<paragraph>
<text>
Sometimes you might want to have icons for certain buttons to enhance the
Sometimes you might want to have icons for certain button to enhance the
UX of the application as we recognize logos more easily than plain text.
For example, if you have a delete button you can label it with a dustbin
icon.
Expand All @@ -16667,25 +16683,35 @@ exports[`firefox /components/buttons/ 1`] = `
SEND
<text>SEND</text>
</button>
<button>
UPLOAD
<text>UPLOAD</text>
</button>
<button disabled="true">
TALK
<text>TALK</text>
</button>
<button>
SAVE
<text>SAVE</text>
</button>
<button>
SAVE
<text>SAVE</text>
</button>
<toolbar>
demo source
<button>Show the full source</button>
<button>Show the source</button>
<button>Edit in CodeSandbox</button>
<button>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<buttonmenu haspopup="true">See more</buttonmenu>
</toolbar>
<text>
<Button variant="outlined" startIcon={<DeleteIcon
/>}> Delete </Button> <Button
variant="contained" endIcon={<SendIcon />}>
Send </Button>
</text>
<heading level="2">
Icon button
Icon Buttons
<link></link>
<text>Icon button</text>
<text>Icon Buttons</text>
</heading>
<paragraph>
<text>Icon buttons are commonly found in app bars and toolbars.</text>
Expand Down Expand Up @@ -16854,15 +16880,15 @@ exports[`firefox /components/buttons/ 1`] = `
<buttonmenu haspopup="true">See more</buttonmenu>
</toolbar>
<heading level="2">
Complex buttons
Complex Buttons
<link></link>
<text>Complex buttons</text>
<text>Complex Buttons</text>
</heading>
<paragraph>
<text>
The Text Buttons, Contained Buttons, Floating Action Buttons and Icon
Buttons are built on top of the same component: the ButtonBase. You can
take advantage of this lower-level component to build custom interactions.
take advantage of this lower level component to build custom interactions.
</text>
</paragraph>
<button>
Expand Down Expand Up @@ -19733,9 +19759,9 @@ exports[`firefox /components/pickers 1`] = `
<text>.</text>
</paragraph>
<heading level="3">
Date picker
Datepickers
<link></link>
<text>Date picker</text>
<text>Datepickers</text>
</heading>
<paragraph>
<text>A native datepicker example with type="date".</text>
Expand All @@ -19749,6 +19775,7 @@ exports[`firefox /components/pickers 1`] = `
Birthday
<text>Birthday</text>
</label>
<statictext> </statictext>
<DateTime>
Birthday
<spinbutton value="05" valuetext="05">
Expand Down Expand Up @@ -19781,16 +19808,16 @@ exports[`firefox /components/pickers 1`] = `
<buttonmenu haspopup="true">See more</buttonmenu>
</toolbar>
<text>
<form noValidate> <TextField id="date"
label="Birthday" type="date"
defaultValue="2017-05-24" style={{ width: 220
}} InputLabelProps={{ shrink: true, }} />
</form>
<form className={classes.container} noValidate>
<TextField id="date" label="Birthday"
type="date" defaultValue="2017-05-24"
className={classes.textField} InputLabelProps={{ shrink:
true, }} variant="standard" /> </form>
</text>
<heading level="3">
Date & Time picker
Date & Time pickers
<link></link>
<text>Date & Time picker</text>
<text>Date & Time pickers</text>
</heading>
<paragraph>
<text>
Expand All @@ -19807,6 +19834,7 @@ exports[`firefox /components/pickers 1`] = `
Next appointment
<text>Next appointment</text>
</label>
<statictext> </statictext>
<textbox value="2017-05-24T10:30">
Next appointment
<text>2017-05-24T10:30</text>
Expand All @@ -19822,16 +19850,17 @@ exports[`firefox /components/pickers 1`] = `
<buttonmenu haspopup="true">See more</buttonmenu>
</toolbar>
<text>
<form noValidate> <TextField id="datetime-local"
label="Next appointment" type="datetime-local"
defaultValue="2017-05-24T10:30" style={{ width: 250
}} InputLabelProps={{ shrink: true, }} />
</form>
<form className={classes.container} noValidate>
<TextField id="datetime-local" label="Next
appointment" type="datetime-local"
defaultValue="2017-05-24T10:30"
className={classes.textField} InputLabelProps={{ shrink:
true, }} variant="standard" /> </form>
</text>
<heading level="3">
Time picker
Time pickers
<link></link>
<text>Time picker</text>
<text>Time pickers</text>
</heading>
<paragraph>
<text>A native time picker example with type="time".</text>
Expand All @@ -19845,6 +19874,7 @@ exports[`firefox /components/pickers 1`] = `
Alarm clock
<text>Alarm clock</text>
</label>
<statictext> </statictext>
<InputTime>
Alarm clock
<spinbutton value="07" valuetext="07">
Expand Down Expand Up @@ -19877,11 +19907,12 @@ exports[`firefox /components/pickers 1`] = `
<buttonmenu haspopup="true">See more</buttonmenu>
</toolbar>
<text>
<form noValidate> <TextField id="time" label="Alarm
clock" type="time" defaultValue="07:30"
InputLabelProps={{ shrink: true, }}
inputProps={{ step: 300, // 5 min }} style={{
width: 150 }} /> </form>
<form className={classes.container} noValidate>
<TextField id="time" label="Alarm clock"
type="time" defaultValue="07:30"
className={classes.textField} InputLabelProps={{ shrink:
true, }} inputProps={{ step: 300, // 5 min }}
variant="standard" /> </form>
</text>
<heading level="2">
API
Expand Down
4 changes: 2 additions & 2 deletions lib/a11y-snapshot/__snapshots__/axe.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Array [
"canMismatch__helpUrl": "https://dequeuniversity.com/rules/axe/4.1/button-name?application=axeAPI",
"id": "button-name",
"nodes": Array [
".MuiLoadingButton-pending.Mui-disabled.MuiLoadingButton-root:nth-child(1)",
".MuiLoadingButton-pending.Mui-disabled.MuiLoadingButton-root:nth-child(2)",
".MuiLoadingButton-pending.MuiLoadingButton-root[classes=\\"\\\\[object\\\\ Object\\\\]\\"]:nth-child(1)",
".MuiLoadingButton-pending.MuiLoadingButton-root[classes=\\"\\\\[object\\\\ Object\\\\]\\"]:nth-child(2)",
],
},
]
Expand Down
Loading