Skip to content

Commit

Permalink
test: screen-reader
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget committed Apr 24, 2024
1 parent 8c83399 commit d42613e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions screen-reader-test/screen-reader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Test with this:

## MacOS

```shell
npm run test:screen-reader:macos-latest --workspace=react-showcase -- --ui
```

## Windows

```shell
Expand All @@ -10,6 +16,7 @@ npm run test:screen-reader:windows-latest --workspace=react-showcase -- --ui

## Gotchas

- Local: Don't switch windows while testing, it will capture only your current screen
- We should avoid auto-generate tests, because they take a lot of time.
- Nvda `next` is equivalent of executing Down Arrow - Won't work with radio/select as you might expect
- Local: Don't switch windows while testing, it will capture only your current screen
- We should avoid auto-generate tests, because they take a lot of time.
- Nvda `next` is equivalent of executing Down Arrow - Won't work with radio/select as you might expect
- One simple test takes about 1 minute in CI ⬅ so only test important things
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["(Default) Text button","Icon & Text button","Icon button"]
["(Default) Text button","Icon & Text button","Icon button",fail]

0 comments on commit d42613e

Please sign in to comment.