Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. social media icons and aria-label

social media icons and aria-label

Scheduled Pinned Locked Moved General Discussion
9 Posts 2 Posters 213 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kappe
    wrote on Apr 9, 2024, 2:14 PM last edited by
    #1

    Hi. Is it possible to add the aria-label attribute to the social media icon?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      arminunruh
      Global Moderator
      wrote on Apr 11, 2024, 1:27 PM last edited by
      #2

      do you need to make a website for people with assistive technology, like for example a website for someone who is blind?
      or what do you need it for

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kappe
        wrote on Apr 11, 2024, 3:35 PM last edited by kappe Apr 11, 2024, 11:51 AM
        #3

        I know you know how it works :)

        1 Reply Last reply
        0
        • A Offline
          A Offline
          arminunruh
          Global Moderator
          wrote on Apr 11, 2024, 9:14 PM last edited by
          #4

          so there is no way to do that :/
          but what do u need it for?
          which labels would you like to see there? maybe i can just hard-code them in!

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kappe
            wrote on Apr 12, 2024, 7:22 AM last edited by
            #5

            Thanks, Armin. PageSpeed ​​Insight shows a note under the accessibility point. This only affects the social media icons in the footer. And they don't have to be readable. Maybe with aria-hidden="true" (and focusable="false"?). Can the attributes be added to the svg code? The icons are in my media lib. Just a small detail, I know.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              arminunruh
              Global Moderator
              wrote on Apr 12, 2024, 4:42 PM last edited by
              #6

              i can add aria-hidden="true" to the anchor tags that inherit the icon images

              maybe that works. you'll need to wait for the next lay theme update release, then that will be included

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kappe
                wrote on Apr 12, 2024, 5:08 PM last edited by
                #7

                bist mein held

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  kappe
                  wrote on Apr 13, 2024, 10:37 AM last edited by
                  #8

                  Thanks Armin. But Pagespeed now says '[aria-hidden="true"] elements contain focusable descendents'. The svg (as a child element?) must also not-focusable with aria-hidden=true > aria-hidden-focus

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    arminunruh
                    Global Moderator
                    wrote on Apr 15, 2024, 3:21 PM last edited by
                    #9

                    ok the image tag will now also have aria-hidden="true" with the next update ^^

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes

                    1/9

                    Apr 9, 2024, 2:14 PM


                    I also code custom websites or custom Lay features.
                    💿 Email me here: 💿
                    info@laytheme.com

                    Before you post:
                    1. When using a WordPress Cache plugin, disable it or clear your cache.
                    2. Update Lay Theme and all Lay Theme Addons
                    3. Disable all Plugins
                    4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                    This often solves issues you might run into

                    When you post:
                    1. Post a link to where the problem is
                    2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                    3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                    Online Users
                    Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                    laytheme.com
                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    1 out of 9
                    • First post
                      1/9
                      Last post
                    0
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Search