Dialogs for PreTeXt UI elements

9 views
Skip to first unread message

Andrew Scholer

unread,
Jun 9, 2026, 12:02:59 PM (11 days ago) Jun 9
to prete...@googlegroups.com
Mostly for Oscar...

I'm doing an accessibility pass on the main UI elements (navbar, ToC, etc...). Moving any popup/dialogs to use the native HTML <dialog> element seems like a clear win to simplify correct keyboard handling and aria attributes.

As part of that, I would like to consolidate the JS/CSS for the various dialogs. Currently, some behave more like modal dialogs and others like non-modal ones. Consolidating the logic means figuring out exactly what behavior is desired for each.

Currently the embed popup is non-modal, but I think it should be modal. I can't think of why interacting with the rest of the page while it is open would be useful. 

Does that seem reasonable? Is there a use case for it being non-modal?

Andrew

Mitch Keller

unread,
Jun 9, 2026, 12:09:28 PM (11 days ago) Jun 9
to prete...@googlegroups.com
I think Oscar has some limited connectivity for the week, so as a frequent user of the embed popup, I will chime in and say that I definitely think it should be modal. 

--
You received this message because you are subscribed to the Google Groups "PreTeXt development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/CACm44N88nZYHx5TKOOHR%2BKyaehF2xyw5NucBr__KNoD4qWKEzQ%40mail.gmail.com.


Oscar Levin

unread,
Jun 9, 2026, 2:02:13 PM (11 days ago) Jun 9
to prete...@googlegroups.com
I agree.  Please proceed.

Andrew Scholer

unread,
Jun 9, 2026, 5:09:43 PM (11 days ago) Jun 9
to prete...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages