How Apple Solves This Webflow Accessibility Issue

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 23

  • @ihor.design
    @ihor.design Місяць тому +10

    these 9 minutes gave me more useful information than a lot of courses

    • @zecostinhacodm
      @zecostinhacodm Місяць тому +1

      That's always the case with Tricks!

  • @badboujee
    @badboujee Місяць тому +10

    wow that's next level stuff. i didnt know it's bad practice to make the entire card a link... will have to watch this video once or twice more on half speed to absorb all the information 😆

  • @ryan-from-verow
    @ryan-from-verow Місяць тому +3

    Amazing video as always Tim!

  • @lyuhakusho
    @lyuhakusho Місяць тому +1

    YES I'VE BEEN WAITING FOR THIS! THANK YOU!!

  • @yash7630
    @yash7630 Місяць тому +1

    Ay yo Timothy what's up 3 videos back to back lovee it hahah 🥳

  • @rimbodesigns
    @rimbodesigns Місяць тому +1

    Great video thank Timothy !

  • @fpv_jesus
    @fpv_jesus Місяць тому +1

    Dude... I love you

  • @vince7858
    @vince7858 Місяць тому

    Really helpful video as always!
    Quick question: Have you ever experimented with making a button component that supports dynamic SVG icons? I think it could be a game-changer.
    I’ve been trying to predefine a set of SVGs, assign each one a unique ID, and then dynamically reference them across the site using tags. The idea is to host the SVGs in a file and call them by their IDs, making it easy to swap or update icons without having to create multiple button variations. I’ve seen others struggle with this, so it might make for a really useful follow-up video!

    • @timothyricks
      @timothyricks  Місяць тому

      Hi Vince, thank you for the suggestion! I think uploading the svg as a file means we could no longer change their color on hover of the button. I've been using a component slot in my button so that any svg can be added inside.

  • @anenglishmanyoutube
    @anenglishmanyoutube Місяць тому

    Could you make a video covering the new 'rich text' structure on lumos 2.0.4? I have looked over the latest cloneable and see some changes in how 'rich text' is being used for headings etc. I had a look at the docs but nothing is covering the changes. Would be amazing to update my current work area to the new version.

    • @timothyricks
      @timothyricks  Місяць тому +1

      Hi, there's two differences. First, the Plain Text fields are removed now to simplify the component. If we need a plain text heading, we would just use a regular heading element instead of the component. And lastly, the rich text element now has a class of u-hide-rich-text-media to hide any images or videos that might be accidentally added inside the heading.
      .u-hide-rich-text-media > *:not(h1,h2,h3,h4,h5,h6,p,blockquote) {
      display: none !important;
      }

    • @anenglishmanyoutube
      @anenglishmanyoutube Місяць тому

      @@timothyricks Thanks :-)

  • @Hamdouche.M
    @Hamdouche.M Місяць тому

    Will lumos work on wordpress the same way?

  • @diegoalfonsomendozagutierr4416
    @diegoalfonsomendozagutierr4416 Місяць тому +1

    Great tip as always Tim.
    Is this also how they do links on social media post? Just like X or Instagram where the full block is a link but the elements inside are links also.
    Looking forward to implement this with a component too.

    • @timothyricks
      @timothyricks  Місяць тому +2

      Thank you! Instagram and X follow a slightly different process because they're web apps. Often they'll assign click events to divs instead of buttons or links. Sometimes they'll add the required workarounds to make those actions accessible to keyboard users and other times they don't.

  • @jorgagostini1013
    @jorgagostini1013 Місяць тому

    Really interesting! Would this approach also work in Webflow‘s editor? So the links can be changed by the client?

    • @timothyricks
      @timothyricks  Місяць тому +1

      This can work in Webflow's new Edit Mode inside the designer. See the cloneable as an example. Sadly, link blocks have never been editable in Webflow's traditional editor. Only Webflow's button element works there.

    • @jorgagostini1013
      @jorgagostini1013 Місяць тому

      @@timothyricksthanks for clarifying! Its such a shame that the new editor doesn’t allow to make things bold or italic as easily as the old one…

  • @Sergy_Kondrashin
    @Sergy_Kondrashin Місяць тому +1

    🐐 👑👑👑

  • @kevynlevine
    @kevynlevine Місяць тому

    What’s the importance of having the border radius inherit?

    • @JannisTimm
      @JannisTimm Місяць тому +2

      when people navigate a website with keyboard it will add a outline to focused elements. Just looks nicer

    • @timothyricks
      @timothyricks  Місяць тому +2

      It ensures the focus outline matches the radius of the parent card or button. It also makes the clickable area match the shape of the card or button. Otherwise clicking in the corners of a rounded button would trigger a click event from a rectangle link inside it.