From bd9ba9cbc80d857fd5fabe16679ebb7d38860413 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Tue, 15 May 2018 03:19:16 +0200 Subject: [PATCH] docs(toolbar): set proper `role` value (#11317) Based on https://www.w3.org/TR/wai-aria/#role_definitions there is no such role as `header`, but rather it should `heading` --- src/lib/toolbar/toolbar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/toolbar/toolbar.md b/src/lib/toolbar/toolbar.md index 06493a2720c..ca1936e300f 100644 --- a/src/lib/toolbar/toolbar.md +++ b/src/lib/toolbar/toolbar.md @@ -68,7 +68,7 @@ By default, the toolbar assumes that it will be used in a purely decorative fash no roles, ARIA attributes, or keyboard shortcuts. This is equivalent to having a sequence of `
` elements on the page. -Generally, the toolbar is used as a header where `role="header"` would be appropriate. +Generally, the toolbar is used as a header where `role="heading"` would be appropriate. Only if the use-case of the toolbar match that of role="toolbar", the user should add the role and an appropriate label via `aria-label` or `aria-labelledby`.