Code Monkey home page Code Monkey logo

Comments (5)

adamschwartz avatar adamschwartz commented on August 27, 2024

Yes! I would really like to help tackle this as well.

vex.dialog is already in pretty good shape in that it uses real input[button] and input[submit] buttons and allows submission through the native form element. But yes, we should be using aria- attrs, etc.

from vex.

jdwyah avatar jdwyah commented on August 27, 2024

yo @cnecochea want to come give us your .02 ? (or .05 )

from vex.

cnecochea avatar cnecochea commented on August 27, 2024

gladly. when should I be where?

-cris

On Oct 21, 2013, at 3:11 PM, Jeff Dwyer [email protected] wrote:

yo @cnecochea want to come give us your .02 ? (or .05 )


Reply to this email directly or view it on GitHub.

from vex.

zackbloom avatar zackbloom commented on August 27, 2024

Anytime, maybe wait a week so @adamschwartz will be back in town. I'd also love your thoughts on messenger, it has a similar issue: HubSpot/messenger#10

from vex.

citelao avatar citelao commented on August 27, 2024

Hey, I stumbled across this. If you make the following changes, you should have an accessible modal.

  • Add ARIA to your overall modal class.
    • role="dialog"
    • aria-label="label here" or aria-labelledby="id of labelling element"— title of the modal
    • aria-describedby="id of description element"— optional, lengthier description of the modal's contents
  • Make the exit button a <button> with a title. If you want it to be an "X" add aria-label="close"
  • Automatically .focus() the element with role="dialog"
    • Prevent focus from leaving an open dialog (wrap around).

Check out the Incredible Accessible Modal

from vex.

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.