The export menu used to be an <aside>, using inert and styling when the menu is toggled. This PR changes it to <dialog> with open (not modal), which is better semantics that will also make sure that the correct tabbing behaviour is achieved. The menu is also closed when focus is lost.
The export menu used to be an
<aside>
, usinginert
and styling when the menu is toggled. This PR changes it to<dialog>
withopen
(not modal), which is better semantics that will also make sure that the correct tabbing behaviour is achieved. The menu is also closed when focus is lost.This matches the expected behaviour, like in https://webaim.org/resources/htmlcheatsheet/ or https://webaim.org/techniques/keyboard/
In the video below, I use the Tab, Enter and Escape keys:
https://github.com/fonsp/Pluto.jl/assets/6933510/8627ac01-771c-4475-8299-39b64f5662c2