Mastering Dialog Accessibility, by (not on Mastodon or Bluesky):

https://vispero.com/resources/mastering-dialog-accessibility/

#accessibility #modals #html #aria

Mastering Dialog Accessibility - Vispero

Dialogs are a fundamental component of modern web interfaces, but ensuring their accessibility requires careful attention to multiple WCAG success criteria. This comprehensive guide will walk you through the essential requirements for validating dialog accessibility under WCAG 2.2, following the structured approach you’d expect from accessibility experts. Why does dialog accessibility matter? Dialog accessibility is […]

Vispero
Opening and Closing Dialogs Without JavaScript Using HTML Invoker Commands

Learn how to use HTML invoker commands to open and close dialogs without writing any JavaScript.

Scripting on Caffeine

There Is No Need to Trap Focus on a “dialog” Element, by @zellwk.bsky.social (@csstricks):

https://css-tricks.com/there-is-no-need-to-trap-focus-on-a-dialog-element/

#modals #focus #accessibility

There is No Need to Trap Focus on a Dialog Element | CSS-Tricks

Accessibility advice around modals have commonly taught us to trap focus within the modal. Upon further research, it seems like we no longer need to trap focus within the (even in modal mode).

CSS-Tricks

What Is the Minimum Markup Needed to Create a Modal?, by (not on Mastodon or Bluesky):

https://www.maxdesign.com.au/articles/minimal-modal.html

#modals #minimalism #html #css #accessibility

Dialog view transitions

Combining view transitions and the dialog element, possible?

Getting a close button to hang off of a dialog - Darin Senneff

Have you ever had to implement a modal dialog with a close button designed to hang off of the corner? While not a huge lift for most developers, there’s a few…

Darin Senneff

You might could dig these multiple modals

A passage from Walter Mosley’s Devil in a Blue Dress:

Joppy stopped wiping [the bar] for a moment and looked me in the eye.
“Don’t get me wrong, Ease. DeWitt is a tough man, and he runs in bad company. But you still might could get that mortgage payment an’ you might even learn sumpin’ from’im.”

That ‘might could get’ was a serendipitous phrase to encounter. Over the preceding days I’d come across several treatments of what are known as double modals or multiple modals, and had been considering a blog post about them. Hint taken.

Brad Dourif in ‘Deadwood’

First, a technical note on modals. These are a small and grammatically unusual family of verbs. They’re a subset of the auxiliary (helper) verbs and so are sometimes called modal auxiliaries. They qualify other verbs in a verb phrase, influencing the overall meaning: I can go, you may be, she must try. Geoffrey Pullum says there are 8–12 of them in English:

can, may, shall, will, dare, must, need, ought

He and Rodney Huddleston mention could, might, should and would as the preterite forms (past tense marked by inflection) of the first four. Grammarians differ slightly in naming the family members; this depends on the category boundaries, and needn’t concern us here.

Modals are used to indicate modality, or ‘mood’ – not in the sense of atmosphere, but to express possibility, permission, obligation, necessity, deduction, prediction and such things. Heather Marie Kosur writes that modality ‘allows language users to express what is, what would be, what may be, and what should be’.

Modern grammar generally divides modality into two or three branches: epistemic (probability, deduction, necessity) and deontic (duty, obligation, permission), and sometimes also dynamic (factual). See this glossary, or Kosur’s essay for a more detailed treatment.

Unlike lexical verbs, modals have no to-infinitives, no –s forms for subject agreement, and no tenses formed with be or have. So you don’t see oughting, mights or musted, etc. At least, not normally (James Joyce, Finnegans Wake: ‘when cherries next come back to Ealing as come they must, as they musted in their past’).

*

And so to double or multiple modals: might could, may would and the like.

Megan Risdal, in a recent post at For the Love of Linguistics, used a map of ‘might could’ usage to gauge its geographic distribution in the U.S. She also studied the reactions double modals inspire, and shared her thoughtful observations.

As I wrote in a comment there, double modals are not in my idiolect, but I find them charming. They’re also interesting grammatically, semantically, and sociolinguistically. They may be used with subtlety by those to whom they come naturally: to modify the degree of likelihood or speculation expressed, for example.

Multiple modals also popped up in an article on the influence of Scotch-Irish [PDF] on East Tennessee grammar, which John Cowan shared in a comment to my recent post on Hiberno-English till. The article’s author, Michael Montgomery, is one of the people behind MultiMo: The Database of Multiple Modals, which launched last week.

MultiMo offers, among other things, a multi-page table of reported examples, including some rare and delightful triple modals:

I might could should write home.

It’s a long way and he might will can’t come, but I’m gonna ask.

Aren’t they amazing? What is grammatical in standard English is often erroneously equated with what is grammatical, period. But grammaticality differs with dialect, and standard English is just one dialect (or a set of them) — privileged socially but not linguistically.

If you’re still with me, and you might would be hungry for more, Language Log has analysed double modals on several occasions; for starters see this post by Ben Zimmer and the pages it links to.

I’ll conclude as I began, with Devil in a Blue Dress:

I always tried to speak proper English in my life, the kind of English they taught in school, but I found over the years that I could only truly express myself in the natural, “uneducated” dialect of my upbringing.

Update: More discussion of double modals at Language Hat, who says:

They are a peripheral part of my dialect thanks to my Ozark ancestors, and while I don’t use them on a daily basis, I delight in tossing them into the mix once in a while; they give me that warm down-home feeling.

#crimeFiction #dialects #grammar #language #linguistics #modalVerbs #modality #modals #multipleModals #semantics #syntax #usage #verbs #WalterMosley #words

Discover Dialog - HTMHell

A collection of bad practices in HTML, copied from real websites.

Discover Dialog - HTMHell
Top layer troubles: popover vs. dialog - HTMHell

A collection of bad practices in HTML, copied from real websites.

Top layer troubles: popover vs. dialog - HTMHell