Coder Social home page Coder Social logo

SEMANTIC html about static-code-scan HOT 4 CLOSED

microsoftedge avatar microsoftedge commented on September 27, 2024
SEMANTIC html

from static-code-scan.

Comments (4)

dmethvin avatar dmethvin commented on September 27, 2024

We've discussed trying to add some sort of accessibility tool. The Webaim.org site is an interesting scan, but it does generate a pretty scary display for most non-trivial pages. But would it be better to send people there, rather than trying to re-implement it in this scan?

from static-code-scan.

dmethvin avatar dmethvin commented on September 27, 2024

See also #35 and #37 for proposed accessibility additions.

from static-code-scan.

alexandre-works avatar alexandre-works commented on September 27, 2024

Hi,
Probably I didn't explain myself properly. I agree with you that for a proper accessibility scan, users should go for instance Webaim.org. Accessibility scan is quite complicated and it would be confuse to implement that here.
My point was an example of something that we could get some ideas. We would not be looking for specifics regarding accessibility. The idea was to show somehow how the html was writing, and if had any semantic meaning.
EX:

are a block element but no semantic meaning! to have a
instead of a

is diferente, and a screen reader (at least the old ones) would read it differently. and the way that may be translated to an image that somehow shows that if you are or aren't using semantic html.

1- http://take.ms/XfVy9
In here i can have showing in the browser exactly the same design. No problem at all... but they are totally deferent in a semantic way.

2- http://take.ms/flzzb
this is more or less what a screen reader would reed it. Just showing the non semantic way with no spaces, all in the same line, would show that this is not ok.

I hope I did explain better this time. I am not suggesting at all accessible testing, but I used a specific thing to suggest this idea
Cheers

from static-code-scan.

dmethvin avatar dmethvin commented on September 27, 2024

I think this goes beyond the scope of this particular scanner. Again I think all of these are good ideas and agree completely with your comments about semantic markup. We just want to avoid creating too many judgmental tests.

from static-code-scan.

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.