Code Monkey home page Code Monkey logo

Comments (3)

mvdschee avatar mvdschee commented on May 28, 2024

@ecerta It's indeed better to have those common mistakes like the cases you describe to be flagged as well. However, the reasons I accepted just one character as a valid option was that 1) I wanted people to be aware that they should make a descriptive alt text 2) I figured out how to link to resources they could read to help with making a descriptive alt text.

However, I haven't figured out how to insert a link in the error messages or if it's even possible.

Thanks for the link to the resource about alt texts, helps me out a lot and if you are willing to participate by writing those checks, I'm very grateful for that.

from web-accessibility.

ecerta avatar ecerta commented on May 28, 2024

Oh, one character might be a valid option, like if the image just shows the letter A (although "the letter A" might be better than just "A"). The kind of crummy alt text I was thinking of was "image" or "graphic." I can't find the blog post anymore but someone grepped through thousands of webpages and found the most common alt text was "image," which is no good.

As a side-note, if this passes it'll need a different example video, since it shows "image" being put in as alt text (I know it's just an example, but it's no good to show a passing example as something that'll be flagged by a different check).

from web-accessibility.

mvdschee avatar mvdschee commented on May 28, 2024

I noticed the pull request a little late but it's a good solution for the alt text problem, I will do some local test cases and added it to the next update (with reverence to your GitHub page), and I will make sure there is a new suitable example.

from web-accessibility.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.