-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: fix and document use of keyboard focus classes on text fields (#…
…3354) * docs: fix and document use of keyboard focus classes on text fields Our Storybook was adding the keyboard focus class on click, which isn't the intended design. Click focus and focused by use of a keyboard have different styles. This update stops the class from being applied on click, and documents how the class should be added by the implementation. * docs(textfield): add keyboard focused class on tab focus Example functionality in our Storybook to add the keyboard focused class to the text field when it was focused with the tab key, similar to what is documented for implementations. * docs(textfield): remove some unneeded keyboard focus examples Remove some examples of keyboard focus from docs stories, that are not necessary to show now that keyboard focus has its own docs example.
- Loading branch information
Showing
4 changed files
with
95 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters