block-code
rci
block-code | rci | |
---|---|---|
1 | 2 | |
12 | 902 | |
- | - | |
2.4 | 2.6 | |
6 months ago | almost 2 years ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
block-code
-
I made a new input component for 2FA/OTP/Passcode
I made a new input component for 2FA/OTP/Passcode and name it as block-code. Please check out the storybook here
rci
-
Need help making my component accesible
I have created a simple segmented input component, using the not so accessible technique of having multiple input components next to each other. I know it's bad, but doing it the rci is more difficult and limiting, but now I want to make it more accessible. My approach is to make a second input element next to it, hide it with css, and make screen readers think it's the actual input field. However, I don't really know how. So, what aria attributes and what not can I give to to trick screen readers into not seeing the div and only the input and is it even doable? Here's is the general DOM structure of my component
-
Made a Segmented Input component for svelte
Take a look at https://github.com/leonardodino/rci for inspiration.
What are some alternatives?
otplib - :key: One Time Password (OTP) / 2FA for Node.js and Browser - Supports HOTP, TOTP and Google Authenticator
react-math-keyboard - A customizable math keyboard for React
a12n-server - An open source lightweight OAuth2 server
gincko - Build complex, smart forms or inputs-based UIs in seconds.
react-headless-passcode - A headless library for Passcode component
zag - Finite state machines for building accessible design systems and UI components. Works with modern frameworks, and even just Vanilla JS
react-pin-field - ๐ React component for entering PIN codes.
image-to-totp - ๐ Convert QR images to TOTP codes
Authenticator - Authenticator generates 2-Step Verification codes in your browser.
headlessui - Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
html-validator - HTML validation for Nuxt