396825 results for ""a""

  • look at the bright side, you are the owner of a new channel in libera /jk
    ZodiacalComet at 2026-07-03 22:12
  • but its, overall, a really exciting time for both CSS and HTML โ€“ loads of cool new stuff, most of which is making old JavaScript workarounds redundant ๐ŸŽ‰
    [Murray] at 2026-07-03 22:01
  • (and that's before you get into the whole "is this a dialog or a modal now?" question with `<dialog>`; I really hope that one day we get a more defined HTML element that can split them up, rather than just the JS APIs)
    [Murray] at 2026-07-03 22:00
  • Nah, I mean dialogs are basically always going to end up scrollable on some viewport size at some point ๐Ÿ˜… it can definitely be a little tricky, though with some of the newer CSS like `inset` I feel like aspects of it are getting easier to explain, at least
    [Murray] at 2026-07-03 21:59
  • And that term will be on the queue for a search later, thanks!
    ZodiacalComet at 2026-07-03 21:59
  • [Murray]: Ye, experimented a little with it when trying to do it without JS. Left it because I didn't get the height to behave correctly, it overflowed and made the dialog scrollable. ~~Skill issue~~
    ZodiacalComet at 2026-07-03 21:58
  • but sounds like we're on the same page, sorry its late here, I just saw some comments I thought I could help clarify, as I do quite a lot of testing with screenreaders and other assistive tech ๐Ÿ™‚
    [Murray] at 2026-07-03 21:54
  • Not necessarily the _best_ approach in all scenarios, but this article from Polypane outlines one way to do it: https://polypane.app/blog/building-a-lightbox-with-the-dialog-element/
    [Murray] at 2026-07-03 21:38
  • Also yeah @ZodiacalComet, that's an increasingly common pattern for the old "lightbox" technique of showing images. You can actually push this very far these days using `command` and `commandFor`. It takes like a dozen lines of additional JS to get a fully functional "click this image, open a gallery mode, then browse with keyboard or click events through next/prev images" and everything
    [Murray] at 2026-07-03 21:36
  • Coming in late, but [Gregor] and @thatoddshade you're right that a link wrapping an image will be "link, alt text" in basically all screen readers (a few switch the order; they should all state its a link, unless you're explicitly navigating via link selection, in which case some drop that)
    [Murray] at 2026-07-03 21:33
Sort by:

Filter results by:

Tag

Query took 0.01s.


Search tips

Exclusion
+foo -bar
Logical OR
foo OR bar
Exact phrase
"foo bar"
Partial words
foo*
Particular fields only
title:foo
domain:example.org
nick:somebody
after:2016-11-23
before:2016-11-23
date:2016-11-23