https://htmx.org logo
Join Discord
Powered by
# missing_dot_css
  • q

    quiet-nightfall-51817

    02/12/2022, 7:43 PM
    More seriously though, classless does seem like a good base. It even already has the concept of extensible plugins (such as the theme switcher and tabs), so perhaps what you're looking for could be done that way?
  • m

    mysterious-toddler-20573

    02/12/2022, 7:43 PM
    definitely worth looking at
  • g

    gorgeous-ghost-95789

    02/12/2022, 8:06 PM
    Ummm…. Right now I’ve just posted a test server for real-time tags (WS and SSE). I think we can roll the existing mocha tests into it so that there’s one unified environment for all tests.
  • a

    adamant-exabyte-92636

    02/12/2022, 8:07 PM
    Look ma! I use
    <nav>
    and not
    <div>
    for navs!
  • p

    powerful-evening-99811

    02/12/2022, 8:08 PM
    Other than simply being an alternative classless CSS it is good to clarify the power structures. Starting with the semantic HTML concepts but making them more clear and specific would reduce "decision paralysis". The ARIA approach seems less explored than other alternatives, so might be a good design space to explore.
  • a

    adamant-exabyte-92636

    02/12/2022, 8:08 PM
    classless.de, yup, German engineering strikes again 🔥
  • g

    gorgeous-ghost-95789

    02/12/2022, 8:08 PM
    I haven’t started anything just yet, but did mention that there are other static site generators that would free us from the tyrant of npm.
  • p

    powerful-evening-99811

    02/12/2022, 8:12 PM
    from MVP.css i liked the use of CSS variables for end users to customize and tweak. This reduces the number of knobs from "everything you can do in CSS" to a few high-impact levers to make adjustments.
  • a

    adamant-exabyte-92636

    02/12/2022, 8:16 PM
    Question: is it common for classless systems to use radio buttons for tabs? I'm so used to classes for tabs, that I honestly don't know
  • a

    adamant-exabyte-92636

    02/12/2022, 8:17 PM
    I ask cause I see classless.de uses radio buttons
  • g

    gorgeous-airport-54386

    02/12/2022, 8:17 PM
    it's a hack, not sure where it originates
  • g

    gorgeous-airport-54386

    02/12/2022, 8:18 PM
    we should avoid it to sell more hyperscript behaviors
  • q

    quiet-nightfall-51817

    02/12/2022, 8:34 PM
    I've seen a couple variations on tabs that way, some using radio buttons, some using hidden checkboxes. It's a way to get state as to which tab/button is shown using pure css/html without javascript.
  • b

    bland-coat-6833

    02/12/2022, 8:40 PM
    I’d be curious to see where the combination of classless.de and tachyons doesn’t work. E.g. start from that and see where the gaps are. DaisyUI is nice in that it bundles up low-level Tailwind into component classes - having an ARIA version of that could be very interesting.
  • b

    bland-coat-6833

    02/12/2022, 8:41 PM
    @User - you’ve been fingered as the inspiration for the ARIA approach. Is there any reading material about that? It sounds super interesting.
  • g

    gorgeous-ghost-95789

    02/12/2022, 8:42 PM
    I did some digging a while back. Certainly not an expert, but I’ll try to put a couple links in the forum. I think Mozilla MDN was a good resource.
  • g

    gorgeous-ghost-95789

    02/12/2022, 8:42 PM
    https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques
  • g

    gorgeous-ghost-95789

    02/12/2022, 8:43 PM
    The cool thing is that Aria already defines a lot of semantics for widgets, so it seems like a win-win to base CSS off of this.
  • g

    gorgeous-ghost-95789

    02/12/2022, 8:44 PM
    …Though I’ll agree that “bad Aria” is probably worse than “no Aria”. If we DO head down this road, I have a feeling this community will learn a lot about screen readers an accessibility.
  • g

    gorgeous-ghost-95789

    02/12/2022, 8:46 PM
    W3c has some very in-depth resources as well, but they’re also pretty “w3c-y”. https://www.w3.org/TR/html-aria/
  • g

    gorgeous-ghost-95789

    02/12/2022, 8:47 PM
    I used this page as a guide when making my tab widget. https://www.w3.org/TR/wai-aria-practices/#tabpanel
  • g

    gorgeous-ghost-95789

    02/12/2022, 8:48 PM
    I could keep digging, but that’s probably a good start. Let me know if you need more 😊
  • m

    mysterious-toddler-20573

    02/12/2022, 8:53 PM
    This 💯
  • m

    mysterious-toddler-20573

    02/12/2022, 8:54 PM
    Away with it status: gotten
  • m

    mysterious-toddler-20573

    02/12/2022, 8:55 PM
    A concept I really like is @User s “density” idea with a geometric (or harmonic or similar) step model and a “default” density variable
  • g

    gorgeous-ghost-95789

    02/12/2022, 8:57 PM
    Pro tip: I just add this snippet into all of my code, just for safety:
    on ownerChanged[owner==“benpate”] toggle my owner
  • g

    gorgeous-ghost-95789

    02/12/2022, 8:59 PM
    Yes. And possibly different default values for different screen sizes, too. I’m going to keep banging the “responsive design” drum, and all the 🐝 in the world aren’t going to stop me.
  • a

    adamant-exabyte-92636

    02/12/2022, 11:21 PM
    https://tenor.com/view/dance-bee-keeper-happy-getting-down-hype-gif-16178784
  • a

    adamant-exabyte-92636

    02/12/2022, 11:21 PM
    Nothing to see ☝️, just @User doing his thing
  • a

    adamant-exabyte-92636

    02/12/2022, 11:36 PM
    This alone is worth the price of aria admission: https://briefs.video/videos/what-is-aria-even-for/
1...8910...44Latest