-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a11y: va-input #3741
Comments
m0ksem
added a commit
to m0ksem/vuestic-ui
that referenced
this issue
Aug 26, 2023
asvae
added a commit
that referenced
this issue
Aug 31, 2023
* fix(input-wrapper): refactoring and redesign * fix(input-wrapper): text color on dark theme * fix(useTextColor): improve currentColor detection * fix(useTextColor): va-chip text color * fix(VaCounter|VaSelect): remove extra props * fix(from-elements): standartize borders * fix(from-elements): unify icons * feat(components-config): allow passing attributes in components config * fix: allow passing preset to VaInputWrapper from complex components * feat: added solid preset to checkbox and radio button * chore: remove extra css variables * fix(va-input-wrapper): correct styles apply from css v-bind * fix(va-input-wrapper): va messages list styles * fix(va-input-wrapper): colro styles * docs(va-input-wrapper): update presets * fix: validation * fix: recursive imports * docs: improve validation demo * feat(time-input): update value with arrows * docs: added change log block * fix(build): wrong types * fix(build): lost reactivity in production build * fix(va-button-toggle): remove invalid attributes * chore: stylelint fixes * fix(config-transport): correctly merge styles * fix(va-textarea): row calculation * fix(va-textarea): made as separate component * fix(va-input-wrapper): focus * fix(va-textarea): added validation * docs: update input docs * docs: update select docs * fix(time-input): changed default time-input position * fix(time-input): bottom gap size * raw: input sizes * docs(textarea): added textarea docs * fix(input-wrapper): introduce small input sizes * raw: collapse * wip: remove small sizes * fix: collapse animation * raw: collapse content slot * feat: refactor collapses * docs: pretiffy input docs * docs: update select docs * feat(select): search v-model * docs: improve inputs sizes in demos * fix(textarea): fix resize icon * fix(radio): improve docs demos * docs(textarea): prettify demos * chore(textarea): fix storybook demos * fix(textarea): scroll and resize icon * fix(collapse): stateful by default * Update packages/ui/src/components/va-input-wrapper/VaInputWrapper.demo.vue * chore: add label slot * fix(#3737): do not apply custom styles for dropdown content in select * fix(#3736): allow date input null model value * fix(#3741): input accessibility improvements * fix(select): accessibility improvement * feat(counter): accessibility improvement * feat(select): accessibility improvement * feat(date-input): accessibility improvement * fix(va-message-list): refactor and fixes * fix(types): add null check * chore(docs): update badges * fix(#3470): textarea autosize on firefox * fix(#3700): prety radio docs --------- Co-authored-by: Yauheni Prakopchyk <ontrew@gmail.com>
m0ksem
added a commit
that referenced
this issue
Sep 12, 2023
* fix(input-wrapper): refactoring and redesign * fix(input-wrapper): text color on dark theme * fix(useTextColor): improve currentColor detection * fix(useTextColor): va-chip text color * fix(VaCounter|VaSelect): remove extra props * fix(from-elements): standartize borders * fix(from-elements): unify icons * feat(components-config): allow passing attributes in components config * fix: allow passing preset to VaInputWrapper from complex components * feat: added solid preset to checkbox and radio button * chore: remove extra css variables * fix(va-input-wrapper): correct styles apply from css v-bind * fix(va-input-wrapper): va messages list styles * fix(va-input-wrapper): colro styles * docs(va-input-wrapper): update presets * fix: validation * fix: recursive imports * docs: improve validation demo * feat(time-input): update value with arrows * docs: added change log block * fix(build): wrong types * fix(build): lost reactivity in production build * fix(va-button-toggle): remove invalid attributes * chore: stylelint fixes * fix(config-transport): correctly merge styles * fix(va-textarea): row calculation * fix(va-textarea): made as separate component * fix(va-input-wrapper): focus * fix(va-textarea): added validation * docs: update input docs * docs: update select docs * fix(time-input): changed default time-input position * fix(time-input): bottom gap size * raw: input sizes * docs(textarea): added textarea docs * fix(input-wrapper): introduce small input sizes * raw: collapse * wip: remove small sizes * fix: collapse animation * raw: collapse content slot * feat: refactor collapses * docs: pretiffy input docs * docs: update select docs * feat(select): search v-model * docs: improve inputs sizes in demos * fix(textarea): fix resize icon * fix(radio): improve docs demos * docs(textarea): prettify demos * chore(textarea): fix storybook demos * fix(textarea): scroll and resize icon * fix(collapse): stateful by default * Update packages/ui/src/components/va-input-wrapper/VaInputWrapper.demo.vue * chore: add label slot * fix(#3737): do not apply custom styles for dropdown content in select * fix(#3736): allow date input null model value * fix(#3741): input accessibility improvements * fix(select): accessibility improvement * feat(counter): accessibility improvement * feat(select): accessibility improvement * feat(date-input): accessibility improvement * fix(va-message-list): refactor and fixes * fix(types): add null check * chore(docs): update badges * fix(#3470): textarea autosize on firefox * fix(#3700): prety radio docs --------- Co-authored-by: Yauheni Prakopchyk <ontrew@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Accessible Input Element Checklist:
Labeling and Instructions:
Use a element to associate a clear and concise label with the input.
Provide additional instructions if needed using appropriate elements like
.
Input Type and ARIA Roles:
Use the appropriate type attribute for the input field (e.g., text, email, number).
Utilize ARIA roles when necessary (e.g., aria-autocomplete, aria-required) to convey input characteristics.
Placeholder Text:
Use the placeholder attribute for brief hints about the input's expected format.
Avoid relying solely on placeholder text for labeling.
Focus Indicator:
Ensure the input has a visible focus indicator (e.g., border or background color change).
Text Contrast and Readability:
Maintain sufficient contrast between text color and input background.
Avoid conveying information solely through color.
Validation and Error Handling:
Provide validation feedback for incorrect input (e.g., invalid format).
Utilize aria-invalid and aria-describedby for error associations.
Use role="alert" or aria-live for dynamic error messages.
Keyboard Accessibility:
Ensure keyboard navigation and interaction are possible.
Set appropriate tabindex to define the input's position in the tab sequence.
Implement keyboard shortcuts and behavior (e.g., Enter key submits).
Autocomplete and Suggestions:
Use the autocomplete attribute for efficient input completion.
Ensure accessible and keyboard-navigable autocomplete suggestions.
Resizeable Inputs:
If the input can be resized (e.g., text area), allow keyboard resizing.
Clear Input Button:
If included, ensure the clear input button is accessible and focusable.
The text was updated successfully, but these errors were encountered: