# a11y: Landmarks and menu improvements \(\#60397\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2268045a119030735f762e5afaf59da0bda869f4)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2268045a119030735f762e5afaf59da0bda869f4

Requested commit: 2268045a119030735f762e5afaf59da0bda869f4

Commit: 2268045a119030735f762e5afaf59da0bda869f4

Tree: 7bfc1ba5578fa8ce3e8c654b213e006992ac41e3

Author: Cameron Mcloughlin

Committer: GitHub

## Message

```
a11y: Landmarks and menu improvements (#60397)

Fixes menu a11y, and adds landmarks with `F6`-navigation.

Also fixes a GPUI bug, and adds debug actions for dumping a11y tree
info.

Since `F6` was already in use by the pause debugger keybind, also
tightens up the debugger keybind context so they require an active
debugger session. When there is one active, `F6` stays as pause
debugger. `ctrl-F6` always works to go to the next landmark.

Also adds an "accessible mode" setting. Currently, this only controls
whether we show all menus all the time, but I suspect it will expand
significantly in the future.

Also adds `.aria_keyshortcuts()` API, but it's not wired up within
accesskit adapters, so is not yet reported to screen readers.

---

Release Notes:

- N/A or Added/Fixed/Improved ...
```

## Parents

- [a21e87c07711e2afa5169cc6d25cf9a0649b7183](https://git.cafe/gitcafe/zed/commit/a21e87c07711e2afa5169cc6d25cf9a0649b7183?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2268045a119030735f762e5afaf59da0bda869f4?format=markdown)
