Skip to content

Commit 1aaec0e

Browse files
literalpiewagnermaciel
authored andcommitted
docs(multiple): small accessibility typos (#23595)
(cherry picked from commit 67f88d3)
1 parent 201220f commit 1aaec0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/material/dialog/dialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ You can control which elements are tab stops with the `tabindex` attribute
155155
`MatDialog` creates modal dialogs that implements the ARIA `role="dialog"` pattern by default.
156156
You can change the dialog's role to `alertdialog` via `MatDialogConfig`.
157157

158-
You should provide a an accessible label to this root dialog element by setting the `ariaLabel` or
158+
You should provide an accessible label to this root dialog element by setting the `ariaLabel` or
159159
`ariaLabelledBy` properties of `MatDialogConfig`. You can additionally specify a description element
160160
ID via the `ariaDescribedBy` property of `MatDialogConfig`.
161161

src/material/table/table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ When using the `multiTemplateDataRows` directive to support multiple rows for ea
380380
By default, `MatTable` applies `role="table"`, assuming the table's contains primarily static
381381
content. You can change the role by explicitly setting `role="grid"` or `role="treegrid"` on the
382382
table element. While changing the role will update child element roles, such as changing
383-
`role="cell"` to `role="gridcell"`, this not _not_ apply additional keyboard input handling or
383+
`role="cell"` to `role="gridcell"`, this does _not_ apply additional keyboard input handling or
384384
focus management to the table.
385385

386386
Always provide an accessible label for your tables via `aria-label` or `aria-labelledby` on the

0 commit comments

Comments
 (0)