Enhanced UI control and Responsible Accessibility with the HTML INERT Property

Поділитися
Вставка
  • Опубліковано 9 лют 2025
  • Now supported across all browsers, the inert attribute and property can be used to mark content that you do not want a user to be able to interact with.
    Code from tutorial: github.com/pro...
    MDN reference for inert: developer.mozi...
    Web.dev article on inert: web.dev/articl...

КОМЕНТАРІ • 19

  • @TyronneRatcliff
    @TyronneRatcliff 3 місяці тому +1

    A HTML property I wasn't aware of until now. Thanks.

  • @soundrightmusic
    @soundrightmusic 2 місяці тому

    Exactly what i needed. I've been dealing with an offscreen button for weeks.

  • @surenderoati
    @surenderoati 8 місяців тому

    Wooow...much needed for my daily works ❤❤ Thanks Professor 🌷🌷

  • @cipriant9190
    @cipriant9190 8 місяців тому +2

    That's awesome!!

  • @LucianoClassicalGuitar
    @LucianoClassicalGuitar 8 місяців тому +1

    Nice little trick. Watching from Poland!

  • @rationalindianguy
    @rationalindianguy 8 місяців тому

    Thank you professor 🙌

  • @fakedevdutt
    @fakedevdutt 8 місяців тому

    wow thanks there is so much I don't know yet!

  • @mahsamanouchehri
    @mahsamanouchehri 8 місяців тому

    Thanks Professor, I have a question: Are there any drawbacks for other users with different impairments, such as cognitive impairments, when using the 'inert' attribute for elements?🤔

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  8 місяців тому +1

      Inert is no different than other attributes or properties. Accessibility and good user experience come down to how you implement it in the interface, not the attribute itself.

    • @mahsamanouchehri
      @mahsamanouchehri 8 місяців тому +1

      @@SteveGriffith-Prof3ssorSt3v3 Thanks Professor for the clarification! 🙌

  • @spreadItWide
    @spreadItWide 8 місяців тому +1

    Can web crawlers read inert elements? (SEO)

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  8 місяців тому +1

      It depends how they are built. If they only read the HTML and inert is set through the JS, they will read everything. If inert is in the HTML but the reader was built before 2023 then it doesn't know about the attribute.

    • @spreadItWide
      @spreadItWide 8 місяців тому

      @@SteveGriffith-Prof3ssorSt3v3 ohh okay, makes sense. Thanks!

  • @munna5553
    @munna5553 8 місяців тому

    wooow great

  • @rationalindianguy
    @rationalindianguy 8 місяців тому

    Professor sorry I'm again commenting this... Could you please make a React course updated for 2024. I know you already posted React series.

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  8 місяців тому +2

      The last React course is still valid. The only thing it doesn't have are features like Server Components which won't be main stream until after React 19 is fully released.

  • @ΕγωΕγω-ρ6ω
    @ΕγωΕγω-ρ6ω 8 місяців тому

    I didn't even know that was possible.Tnk you

  • @itsatomtech
    @itsatomtech 3 місяці тому

    I leaarn much in this channel, wizzzards go hereee