https://htmx.org logo
Join Discord
Channels
htmx-general
alpine-htmx
bash-htmx
cobol-htmx
cold-fusion-htmx
cplusplus-htmx
crystal-htmx
deno-htmx
🔥-django-htmx
dotnet-htmx
elixir-htmx
go-htmx
haskell-htmx
hiring-and-consulting
hotwire-htmx
htmx-dev
hyperscript
java-htmx
lisp-htmx
missing_dot_css
nim-htmx
node-htmx
ocaml-htmx
perl-htmx
php-htmx
python-htmx
r-htmx
ruby-htmx
rust-htmx
showcase
ye-olde-intercoolerjspth
Powered by
# htmx-dev
  • r

    ripe-action-67367

    05/10/2023, 5:52 PM
    it was always staying somewhere in the region of the element begin swapped
  • r

    ripe-action-67367

    05/10/2023, 5:52 PM
    and autofocus is respected as well
  • r

    refined-waiter-90422

    05/10/2023, 6:27 PM
    Wouldn't be surprised if
    aria-*
    boilerplate gets a deprecation notice in a few years. At least
    alt
    actually adds content you can't get in any other way (even this might get superseeded by computer vision in browser clients with all the ai work recently).
  • r

    ripe-action-67367

    05/10/2023, 6:30 PM
    I skimmed through the docs and ngl, it's frustrating
  • r

    ripe-action-67367

    05/10/2023, 6:30 PM
    on one hand, you've got bazillion of those aria-* and role=* attributes
  • r

    ripe-action-67367

    05/10/2023, 6:31 PM
    documentation of which is scattered across multitude of standards, RFC and guidelines
  • r

    ripe-action-67367

    05/10/2023, 6:32 PM
    many of which are authored by w3, and their website navigation is exceptionally confusing (although this might be partially on me)
  • r

    refined-waiter-90422

    05/10/2023, 6:32 PM
    you're not wrong, the w3 website has always been a crap experience
  • r

    ripe-action-67367

    05/10/2023, 6:32 PM
    and you kinda need those docs, since there are particular recommended techniques on how to use those attributes
  • r

    ripe-action-67367

    05/10/2023, 6:33 PM
    at least MDN is somewhat sane in this regard
  • r

    refined-waiter-90422

    05/10/2023, 6:34 PM
    mdn, w3school, etc existing = w3 fail design since 1999
  • r

    ripe-action-67367

    05/10/2023, 6:38 PM
    and then when you try to follow the patterns, they end up being actually quite limited, because you got a role=feed for infinite scrolling, but what if you want infinite table? Do I have to convert my table to feed of articles? can I set role=feed to table? and the moment you are out of the docs, you are completely stranded, because there is little to no material on aria outside of w3 and mdn
  • r

    refined-waiter-90422

    05/10/2023, 6:40 PM
    Yeah, Gotta keep in mind man, it's 100% a live standard. W3 cannot fully predict usage, these things are supposed to evolve.
  • r

    ripe-action-67367

    05/10/2023, 6:40 PM
    and not to mention that screen readers have their own little quirks with how they process accessibility tree, and how to make it say what you want and the voice steadily makes you go slightly nuts
  • r

    refined-waiter-90422

    05/10/2023, 6:40 PM
    Just sad that HTML stopped at 5. But that's why we're all here of course.
  • r

    ripe-action-67367

    05/10/2023, 6:40 PM
    accessibility is hard folks
  • r

    ripe-action-67367

    05/10/2023, 7:01 PM
    well that's a start https://github.com/bigskysoftware/htmx/pull/1433
  • l

    limited-teacher-83117

    05/10/2023, 9:07 PM
    I get the frustration, but Renerick's PR at least is a good example of why most HTML is accessible-by-default. Basically all of those changes (particularly
    <a class=btn>
    ->
    <button>
    ) are just better uses of HTML
  • l

    limited-teacher-83117

    05/10/2023, 9:08 PM
    With the huge caveat that I'm not an accessibility expert, the common denominator that any accessibility tech uses is standard HTML, so I think using HTML as correctly (and semantically, if you like) as possible gets you 95% of the way there
  • g

    gorgeous-airport-54386

    05/10/2023, 9:08 PM
    htmx is html eXtended. if you're extending html, you can't expect the extended parts to be accessible for free
  • g

    gorgeous-airport-54386

    05/10/2023, 9:09 PM
    which is why it's so sad that html develops so slowly
  • l

    limited-teacher-83117

    05/10/2023, 9:09 PM
    Yeah not diminishing the difficulty focus issue or the scolding, just saying that HTMX is a massive win for accessibility precisely because it extends HTML so little
  • l

    limited-teacher-83117

    05/10/2023, 9:09 PM
    larger point i've made before about forcing you to learn HTML yadda yadda
  • g

    gorgeous-airport-54386

    05/10/2023, 9:09 PM
    the biggest development in the last year was
    <search>
    , an alias for
    <div role=search>
  • l

    limited-teacher-83117

    05/10/2023, 9:10 PM
    you mean
    <input type=search>
    , or something else?
  • g

    gorgeous-airport-54386

    05/10/2023, 9:11 PM
    no,
    <div role=search>
    . it's a landmark role
  • g

    gorgeous-airport-54386

    05/10/2023, 9:11 PM
    https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/search_role
  • l

    limited-teacher-83117

    05/10/2023, 9:12 PM
    got it, not seeing anything about the
    <search>
    alias though
  • g

    great-cartoon-12331

    05/10/2023, 9:19 PM
    yeah i've never heard of a
    <search>
    tag
  • m

    mysterious-toddler-20573

    05/27/2023, 4:09 AM
    @ripe-action-67367 can you DM me?