nexushoratio / userscripts

Random userscripts for browsers.
GNU General Public License v3.0
2 stars 0 forks source link

`Modal` widget #194

Open nexushoratio opened 1 year ago

nexushoratio commented 1 year ago

Likely just a renaming of the Info widget, though with more intent.

nexushoratio commented 11 months ago

From \<dialog> on MDN:

The \<dialog> element is exposed by browsers in a manner similar to custom dialogs that use the ARIA role="dialog" attribute.

elements invoked by the showModal() method implicitly have aria-modal="true",

nexushoratio commented 11 months ago

Not sure how to capture the TAB key. Mostly because of wanting to make sure it is compatible with VM.shortcut

Putting this on the back burner for now.