Skip to content

Commit

Permalink
docs(multiple): small accessibility typos (#23595)
Browse files Browse the repository at this point in the history
  • Loading branch information
literalpie authored Sep 17, 2021
1 parent 1244a5b commit 67f88d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/material/dialog/dialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ You can control which elements are tab stops with the `tabindex` attribute
`MatDialog` creates modal dialogs that implements the ARIA `role="dialog"` pattern by default.
You can change the dialog's role to `alertdialog` via `MatDialogConfig`.

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

Expand Down
2 changes: 1 addition & 1 deletion src/material/table/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ When using the `multiTemplateDataRows` directive to support multiple rows for ea
By default, `MatTable` applies `role="table"`, assuming the table's contains primarily static
content. You can change the role by explicitly setting `role="grid"` or `role="treegrid"` on the
table element. While changing the role will update child element roles, such as changing
`role="cell"` to `role="gridcell"`, this not _not_ apply additional keyboard input handling or
`role="cell"` to `role="gridcell"`, this does _not_ apply additional keyboard input handling or
focus management to the table.

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

0 comments on commit 67f88d3

Please sign in to comment.