Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
This repository was 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
@mrweiner

Description

@mrweiner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions