Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 2 years ago

Equalizer Landing Page [mobile first][vanilla HTML/CSS]

accessibility
Tanguy•140
@OignonFugace
A solution to the Equalizer landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


This is my first premium challenge. It is nice to work with Figma files!

My questions are:

  • In a feedback on a previous challenge, I was recommended to add the focusable HTML attribute to false along with aria-hidden='false'. While trying to implement that in this challenge, I read that the focusable HTML attribute is not well supported by all browsers and the use of javascript is recommended. Is there a best practice here ?
  • Any feedback are appreciated, especially on the layout strategy or better ones that I could have thought of.

For more context see the github readme file.

Thank you all!

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Vanza Setia•27,715
    @vanzasetia
    Posted over 2 years ago

    Hi, Tanguy! 👋

    About focusable attribute, you should use that on the <svg> elements to prevent users that use Internet Explorer from focusing on SVGs.

    Reference: Contextually Marking up accessible images and SVGs

    I am not sure about the support. But, since the purpose is fixing bugs on Internet Explorer, the support should be good. Can you share the link that shows the support of the focusable attribute? I can't find it on "Can I Use" and only find the specification of it.

    Can I use "focusable", 0 results found — "focusable" | Can I use... Support tables for HTML5, CSS3, etc

    Interactivity – SVG Tiny 1.2

    Scripting and Interactivity — SVG 2

    Here are some suggestions for improvements.

    • Alternative text for the Equalizer logo should only be "Equalizer". Remove the following phrases, "written in full as the site logo".
    • Not every image needs alternative text. Decorative images should not have alternative text (alt=""). This will tell the screen reader to skip over the image. As a result, it saves screen reader users time navigating the page.
    • For your information, decorative images are images that don't add any information and serve only aesthetic purposes.
    • Use <a> with download attribute for the download buttons.
    • The Android and Apple icons are decorative images. Don't add alternative text if you decide to add aria-hidden="true" to the <img> element.
    • Put the visually hidden text inside the <a> to label each social media link. Also, you should only add the social media platform. Don't include the "Follow on" phrases.
    • Prefer unitless numbers for line-height values to avoid unexpected results. Learn more — line-height - CSS: Cascading Style Sheets | MDN

    I hope this helps. Happy coding! 😄

    Marked as helpful

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

How does the accessibility report work?

When a solution is submitted, we use axe-core to run an automated audit of your code.

This picks out common accessibility issues like not using semantic HTML and not having proper heading hierarchies, among others.

This automated audit is fairly surface level, so we encourage to you review the project and code in more detail with accessibility best practices in mind.

How does the CSS report work?

When a solution is submitted, we use stylelint to run an automated check on the CSS code.

We've added some of our own linting rules based on recommended best practices. These rules are prefixed with frontend-mentor/ which you'll see at the top of each issue in the report.

The report will audit 1st-party linked stylesheets, and styles within <style> tags.

How does the HTML validation report work?

When a solution is submitted, we use html-validate to run an automated check on the HTML code.

The report picks out common HTML issues such as not using headings within section elements and incorrect nesting of elements, among others.

Note that the report can pick up “invalid” attributes, which some frameworks automatically add to the HTML. These attributes are crucial for how the frameworks function, although they’re technically not valid HTML. As such, some projects can show up with many HTML validation errors, which are benign and are a necessary part of the framework.

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub