From dcfdbd7845ef97db641f7e624762fa5f73805dbc Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 2 Apr 2020 10:40:04 +0100 Subject: [PATCH] docs: clarify focus management in readme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Mu-An 慕安 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cc0fb6f..e2a2716 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ import '@github/markdown-toolbar-element' ``` -Focus management for buttons inside of the toolbar is automatically managed by the toolbar itself. The `md-*` buttons that ship with this package are automatically managed, but custom buttons needs a `data-md-button` attribute added to them, which enrolls them into focus management. +`` comes with focus management as advised in [WAI-ARIA Authoring Practices 1.1: Toolbar Design Pattern](https://www.w3.org/TR/wai-aria-practices-1.1/examples/toolbar/toolbar.html). The `md-*` buttons that ship with this package are automatically managed. Add a `data-md-button` attribute to any custom toolbar items to enroll them into focus management. ## Browser support