Skip to content
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

Missing Aria Label #133

Open
brianteeman opened this issue Aug 16, 2022 · 0 comments
Open

Missing Aria Label #133

brianteeman opened this issue Aug 16, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@brianteeman
Copy link

brianteeman commented Aug 16, 2022

Please describe the bug you are seeing

When the search box is not expanded the code says that the search box is labelled by a non existing label

Title: WCAG 4.1.2: Ensures every ARIA input field has an accessible name (.aa-Autocomplete)
Tags: Accessibility, WCAG 4.1.2, aria-input-field-name

Issue: Ensures every ARIA input field has an accessible name (aria-input-field-name - https://accessibilityinsights.io/info-examples/web/aria-input-field-name)

Element path: .aa-Autocomplete

Snippet:
<div class="aa-Autocomplete" role="combobox" aria-expanded="false" aria-haspopup="listbox" aria-labelledby="autocomplete-0-label">
aria-labelledby attribute does not exist

Environment: Chrome version 104.0.0.0

====

How can we best reproduce the bug?

Use any accessibility testing tool

Which version of Docusaurus and @cmfcmf/docusaurus-search-local are you using?

PS C:\laragon\www\Manual> npm list '@docusaurus/core' '@cmfcmf/docusaurus-search-local'
[email protected] C:\laragon\www\Manual
├─┬ @cmfcmf/[email protected]
│ └── @docusaurus/[email protected] deduped
├── @docusaurus/[email protected]
└─┬ @docusaurus/[email protected]
├── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
└─┬ @docusaurus/[email protected]
└── @docusaurus/[email protected] deduped

Which Node.js version are you using?

v18.3.0

Which theme are you using?

Yes, I am using @docusaurus/theme-classic

How does your plugin config look like?

  plugins: [
    [
      require.resolve("@cmfcmf/docusaurus-search-local"),
      {
        indexBlog: false,
        language: "en",
      },
    ],
  ],

Additional context

No response

@brianteeman brianteeman added the bug Something isn't working label Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant