Giter VIP home page Giter VIP logo

accessible-html's People

Contributors

derrickreimer avatar jamesrweb avatar jfmengels avatar ryan-haskell avatar shahnhogan avatar tesk9 avatar tryzniak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

accessible-html's Issues

Restructure for clarity

Originally I was thinking that you would only want the Widget attributes in the context of making a custom component (like a modal or something like that). And you might want Aria in more general cases.

But I think the current distinction is pretty arbitrary/unhelpful. For instance, aria-label is in Widget, but you need aria-labels all the time for stuff that isn't a widget, (like labelling an image).

Consider restructuring the module for easier browsability.

Current thinking: fold Widget into Aria

Elm 0.19

I've started working on the Elm 0.19 upgrade here: #12

Completion is currently blocked on elm-explorations/test#13. Alternatively, I could publish the initial 0.19 version without tests and with a ye be warned message. Let me know if this would help you.

How to use `Accessibility.form`?

Hi!

Thanks for your work on this package, it is very important and not highlighted enough in the Elm community 🙂

Since Elm 0.19, a few XSS protections have been added to virtual-dom, and the following pattern for single-page applications is now disallowed :

form [ action "javascript:void(0)" ]
    [ button [ type_ "submit", onClick SubmittedForm ] [ text "Submit" ] ]

Clicking the button will only result in an annoying dialog box.

The accepted pattern seems to be :

form [ onSubmit SubmittedForm ]
    [ button [ type_ "submit" ] [ text "Submit" ] ]

but it cannot be used with Accessibility.form since it only takes non-interactive attributes.

Is there a way to stick with Accessibility.form while not using any XSS-sensitive strings? Or should we fall back to Http.form for single-page applications?

aria-checked support?

@tesk9 First of all thank you for creating this awesome library and your talk about it, which provided a great intro!

I am trying to implement nicer looking checkboxes and have realized that they are not a11y-friendly, trying to fix that up.

The checkBox role and labelledBy in this library has me part of the way there. But the checkbox state is being read wrong.

So now I'm looking at the aria-checked attribute, for which I see no support here.

Is this something I might be able to pitch in and PR to add, or is there are a philosophical reason you did not include? or etc...

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.