-
Notifications
You must be signed in to change notification settings - Fork 4
Using Storybook
Storybook can be used for more than just accessibility tests. It is also a convenient way to develop new front end features in isolation without having to navigate through the application over and over.
To run the tests in the Storybook UI, click on the Run tests button.
The test results will show up in the testing panel.
See Accessibility Tests for more information about enabling Accessibility tests
If there is an accessibility error, it will show up in the testing panel and the story list panel.
Open the failing story and then click the Accessibility tab in the Add-on panel.
Click on the error to see more details. Click on the Jump to element button and the failing element will have a pulsing highlight.
This should give you the information that you need to resolve the issue. Once you save, it will re-render the story and if the issue is resolved, it will show 0 Violations in the Accessibility tab of the Add-on panel. The results in the story and testing panel won't clear until you run the tests again.
A work of the MACPRO Platform Team for the Centers for Medicare & Medicaid Services.