Code Monkey home page Code Monkey logo

Comments (1)

pwolfert avatar pwolfert commented on June 2, 2024

Hi @bedwar2 👋,

What you’ve described is actually how we intended for this component to work. For background, this component aimed to address accessibility issues with the state of the art in the common input-masking pattern. Traditional masked inputs modify the value of an input while the user types, which is a confusing and frustrating experience for people using screen readers. We recognized this issue long ago when creating our existing masked field and relegated the input-modification phase of the interaction to happening only after the user blurs away from the input rather than modifying it in place in realtime.

However, sighted users are accustomed to that realtime feedback that an input mask provides, so we took that feedback and went back to the drawing board for this new component. decided to implement this idea by Brad Frost. It gives instant feedback to sighted users about the data they’re inputting while also minimizing the noise for screen readers. We worked with an accessibility expert to tune the screen-reader experience. This has yet to be fully validated in user testing, but it’s how we decided to implement the new date field.

We've actually been working on a documentation page for this new label-masked field pattern beyond its use in the calendar picker. Please let us know if you have any feedback about component API or the documentation we've written. We plan to publish it in the next release.

from design-system.

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.