Gostman does not claim to meet WCAG, and nobody has tested it with a screen reader. Where this page says "the app sets" something, it means the code does it. It does not mean a screen reader was heard saying it.
Keyboard
Everything in the main window can be reached without a mouse. The keys are listed in Move around with the keyboard and in the Keyboard shortcuts dialog (press ? in the command palette). The short version:
- Skip control. The first Tab stop in the window is a button that appears when it has focus. It moves you to the address bar, past the header and the sidebar.
- Panes. F6 and Shift+F6 move between the sidebar, the open tabs, the address bar, the request and the response. Each pane remembers where you were.
- Command palette. Ctrl+K opens it. It is a dialog with a search field, a result list and a count of results that is announced when you type.
- One Tab stop per group. Tabs, option buttons, the collection tree and menus use arrow keys, Home and End inside the group, so Tab does not walk through every item. In right-to-left layouts the left and right arrows swap.
- Menus. Arrow keys, Home and End move between items. Esc or Tab closes a menu and puts focus back on the button or row that opened it. This holds for the context menus, the tab overflow menus and the workspace menu.
- Dialogs. A dialog keeps Tab inside it, closes with Esc (only the top one), and returns focus to what opened it. Tool windows such as the runner, the mock server and the load test do not block the app: Tab leaves them, and Esc closes them only while focus is inside.
- Code editors. Tab indents inside an editor. To leave one, press Esc and then Tab (or Shift+Tab), or press Ctrl+M to turn Tab focus on and off. This comes from CodeMirror; the editor version in use handles the Esc key itself. In a dialog, Esc inside an editor does not close the dialog.
- Things you can drag also have keys. Collection tree rows move with Alt+Up Arrow and Alt+Down Arrow, and tabs with Alt+Shift+Left Arrow and Alt+Shift+Right Arrow. A floating window such as Preferences has a move button in its title bar: the arrow keys move the window, Shift with the arrow keys resizes it and Home puts it back. The bars between the sidebar, the request and the response can be focused and moved with the arrow keys.
- Focus is visible. Every element that takes focus gets a 2 px outline in the accent colour. The outline colour is checked in the table below.
Screen readers
The app sets roles and states so a screen reader has something to read. This list comes from the code.
- Names. Icon-only buttons get an accessible name from the
IconButtoncomponent, which also uses it as the hover title. A scan of every.jsxfile in the components folder found no icon-only button without a name, and fields get theirs from a wrapping label or anaria-label. The scan is a script that reads the code, so it can miss a control built from spread props. - Tabs. The open tabs, the sidebar views, the request sections and the response sections are
tablist,tabandtabpanelwitharia-selected. The response and sidebar lists that overflow are collected under a More menu button witharia-haspopupandaria-expanded. - Collection tree.
treeandtreeitemwith level, position, set size,aria-expanded,aria-selectedand the keyboard shortcuts of each row. Multi-select is announced asaria-multiselectable. - Menus and lists. Menus are
menuwithmenuitem. The method, protocol and other drop-downs are a button withrole="combobox"that opens alistboxofoptionrows, witharia-activedescendantwhile you move. When the button has a name, the listbox gets the same one. Fields that suggest variables use the same pattern. - Switches and options.
switchwitharia-checked, andradiogroupwithradiofor segmented controls, the accent colour and the palettes. - Dialogs.
dialogwith a name andaria-modal; tool windows are not modal. - Status messages. A polite live region announces the notice that appears at the bottom of the window, some with an Undo or another button. The notice waits while the pointer or focus is on it, and otherwise closes itself after eight seconds. The response panel announces "Sending request" while a send is running and the status, time and size when it ends. Failed responses and form errors use
role="alert". - Rows in tables. In the header, query and form tables, every row is a group named "Row 1", "Row 2" and so on, and the last empty one is "New row".
- Landmarks. Header, sidebar, main area and status bar are regions of the window; the sidebar has a name.
- Unsaved marks. The dot on a tab, flow or spec that has unsaved changes is an image with the text "Unsaved".
Themes, text and motion
- Themes. Light and dark, eight palettes (Default, Neutral, Slate, Paper, Moss, Dusk, Ocean and Ink), five accent colours and your own colours. See Themes and colours.
- Contrast. Preferences > Theme > Contrast has System, Standard and More. System follows the operating system's "more contrast" setting. More makes borders, field outlines and secondary text stronger. In your own colours, the contrast figure turns into a warning below 4.5:1.
- Text size and density. 90%, 100%, 110% and 125%, and a compact density.
- Reduced motion. When the system asks for less motion, the app cuts every CSS animation and transition to a hundredth of a millisecond, scroll behaviour goes back to instant, and the tab strip's page buttons jump instead of gliding. The landing page switches off its scroll animations and smooth scrolling.
- Forced colours. Selected tabs, options, switches and pressed buttons are drawn with the system highlight colours in Windows high contrast mode. The rest of the interface was not looked at in that mode.
- Right to left. The layout is mirrored for right-to-left languages and arrow keys follow the direction. No right-to-left translation ships yet. Development builds have a pseudo right-to-left language for testing the layout.
- Language. The window's language and direction are set on the page from the language you chose.
Contrast table
These are the lowest contrast ratios of the built-in colours, worked out from the colour tokens in index.css and the palette rules in the app (themes.js) for every palette, light and dark, with Standard contrast and both the window and sidebar backgrounds, and the five accent colours. A script did the sums, using the WCAG formula; the repository has no automated tests, so nothing re-runs it.
The first four columns need 4.5:1 for text. Input border and Focus ring need 3:1, the number WCAG asks of the outline of a control and its focus indicator.
| Palette | Text | Muted text | Input border | Focus ring | Status text | Accent text | Code colours |
|---|---|---|---|---|---|---|---|
| Default, light | 18.86 | 6.31 | 3.30 | 5.82 | 5.42 | 5.85 | 5.20 |
| Default, dark | 19.26 | 6.37 | 3.32 | 7.25 | 5.32 | 6.30 | 5.32 |
| Neutral, light | 17.18 | 5.34 | 3.31 | 5.58 | 5.15 | 5.56 | 4.93 |
| Neutral, dark | 16.00 | 5.52 | 3.40 | 6.75 | 4.90 | 5.80 | 4.90 |
| Slate, light | 16.30 | 5.22 | 3.26 | 5.31 | 4.93 | 5.32 | 4.72 |
| Slate, dark | 14.48 | 5.18 | 3.38 | 6.43 | 4.60 | 5.45 | 4.60 |
| Paper, light | 13.38 | 4.54 | 3.01 | 5.11 | 4.82 | 5.21 | 4.62 |
| Paper, dark | 13.73 | 4.94 | 3.31 | 6.32 | 4.53 | 5.37 | 4.53 |
| Moss, light | 13.31 | 4.51 | 3.01 | 5.17 | 4.87 | 5.26 | 4.66 |
| Moss, dark | 14.19 | 5.08 | 3.27 | 6.55 | 4.75 | 5.63 | 4.75 |
| Dusk, light | 14.18 | 4.62 | 3.00 | 5.15 | 4.82 | 5.20 | 4.62 |
| Dusk, dark | 14.20 | 5.08 | 3.29 | 6.56 | 4.77 | 5.64 | 4.77 |
| Ocean, light | 13.48 | 4.51 | 3.01 | 5.22 | 4.92 | 5.31 | 4.71 |
| Ocean, dark | 14.29 | 5.11 | 3.33 | 6.50 | 4.71 | 5.58 | 4.71 |
| Ink, light | 21.00 | 9.14 | 4.88 | 5.82 | 5.10 | 5.50 | 4.89 |
| Ink, dark | 19.26 | 6.13 | 3.04 | 7.56 | 5.90 | 6.90 | 6.31 |
What each column measures:
- Text is the main text on the background.
- Muted text is the grey secondary text and placeholders, on the background, on cards, on muted panels and on the hover and selected row colour.
- Status text is the green, amber, red and blue used for success, warnings, errors and most method names (GET, POST, DELETE and so on), on the background, on the hover and selected row colour and on the 10% tint behind badges, plus the white or dark text on a filled button of that colour.
- Accent text is each of the five accent colours as text or a link (GRAPHQL uses it too), on the background, on the hover and selected row colour and on its 10% tint, plus the text on a filled accent button.
- Code colours are the six colours of keys, strings, numbers, booleans, null and punctuation in the code editors, on the background and on the hover and selected row colour used in the editor pop-ups.
With More contrast, the lowest figures are text 13.31, muted text 6.95, input border 4.40, focus ring 5.11, status text 4.53, accent text 5.20 and code colours 4.53.
What this does not cover: colours you choose yourself (custom colours and method colours; Preferences shows their ratio and warns below 4.5:1), disabled controls and rows (they are dimmed on purpose, and WCAG leaves inactive controls out), decorative borders, the Gostman logo, and the landing page and documentation pages.
What changed
Five colour tokens were a little below 4.5:1 on some palettes: the dark Slate, Paper, Moss, Dusk and Ocean windows, the dark Neutral sidebar and the light Paper and Dusk sidebars (98 failing pairs in all). Each was nudged by one to five points of lightness and keeps its hue. The default palette passed before and still passes. After the change no built-in pair is below its limit:
| Colour | Before | After | Worst pair before |
|---|---|---|---|
| Error red and null, dark | 0 84% 60% |
0 84% 65% |
3.94:1 on the hover row of Paper, dark |
| Info blue, dark | 217 91% 60% |
217 91% 63% |
4.10:1 on the hover row of Paper, dark |
| Boolean purple, dark | 280 74% 64% |
280 74% 67% |
4.17:1 on the hover row of Paper, dark |
| String green, light | 142 70% 26% |
142 70% 25% |
4.49:1 on the sidebar hover row of Paper and Dusk, light |
The icon buttons that appear on a hovered history row were at 60% opacity, about 2.9:1 on a white background. They are now at 75% (4.0:1).
Known gaps
- No screen reader testing. Nothing here was tried with NVDA, JAWS, VoiceOver or Narrator, and no automated checker (axe, Lighthouse) was run. Expect roles that are right on paper and still awkward to hear.
- Form errors are not linked to their field. Most errors appear next to the field as an alert, but the field itself is not marked invalid and does not point to the message.
- Repeated field names. The header, query and form tables name each row. The variables and environment tables and the extract and checks tables repeat the same "Name" and "Value" for every row.
- Dimmed disabled rows. Rows you switch off are drawn at half strength, which is below 4.5:1 for their text.
- Hover-only details. The card that shows what a
{{variable}}is set to, and the longertitlehints, appear on hover. Whether the variable card is reachable by keyboard has not been checked. - Drawing and charts. The flow canvas, the dependency graph and the timing charts have not been audited for keyboard or screen reader use. The JSON tree view uses a third-party component that has not been checked.
- The desktop window frame. On the desktop app with its own title bar, resizing the whole window by its edges or its corner grip needs a pointer.
- Skip control. It goes to the address bar only. There is no skip to the response.
- Command palette headings. The "Commands", "Requests" and "History" headings in the result list are read as plain text, not as groups.
- Zoom and text spacing. The phone layout exists, but reflow at 320 px and user text-spacing overrides were not measured.
- Landing page and docs site. They have a skip link, landmarks and labelled navigation, and were not otherwise audited here.
- Windows high contrast. Only the selected-state colours are handled, as noted above.
- Pointer target size. The smallest button is 24 px square, which is the WCAG minimum for pointer targets; smaller ones were not hunted down everywhere.
Report a problem
Open an issue at github.com/kunalgoesbyken/gostman/issues with what you used (the operating system, the screen reader or other tool, and whether it was the desktop or web app) and what happened. A report that says which control and which key or action is enough.