Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

required fields get "ariarequired" attribute instead of "aria-required" attribute #307

Open
2 tasks done
mrweiner opened this issue Jun 12, 2022 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@mrweiner
Copy link

mrweiner commented Jun 12, 2022

Version

3.x.x (Vue 3.x)

Describe the bug

When adding a required field, the rendered form input gets assigned the ariarequired property, but the name of the property should actually be aria-required. See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-required.

Describe the bug

  1. Create a form with a required field
  2. Inspect the input DOM element
  3. Element has ariarequired property

Expected behavior

The element should instead get the aria-required property.

System Info

  System:
    OS: Linux 5.17 Pop!_OS 21.10
    CPU: (16) x64 AMD Ryzen 7 3700X 8-Core Processor
    Memory: 2.68 GB / 31.35 GB
    Container: Yes
    Shell: 5.8 - /usr/bin/zsh
  Binaries:
    Node: 16.15.1 - /usr/local/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 8.11.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 102.0.5005.115
    Chromium: 83.0.4103.116
    Firefox: 100.0.2
  npmPackages:
    @asigloo/vue-dynamic-forms: ^3.18.0 => 3.18.0 

Additional context

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@mrweiner mrweiner added the bug Something isn't working label Jun 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant