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

Form-Associated Custom Elements Associated to Labels Are Not Read #15118

Closed
break-stuff opened this issue Jul 11, 2023 · 2 comments
Closed

Form-Associated Custom Elements Associated to Labels Are Not Read #15118

break-stuff opened this issue Jul 11, 2023 · 2 comments

Comments

@break-stuff
Copy link

break-stuff commented Jul 11, 2023

Steps to reproduce:

Actual behavior:

The label is not being read when focused on the input element.

Expected behavior:

When using the ElementInternals API, form-associated custom elements should be able to be referenced by <label> elements using the for attribute and it should be read when focused.

NVDA logs, crash dumps and other attachments:

System configuration

NVDA installed/portable/running from source:

NVDA version:

2023.1

Windows version:

10.0.22621 Build 22621

Name and version of other software in use when reproducing the issue:

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

Yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

No

If NVDA add-ons are disabled, is your problem still occurring?

Yes

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

I'm not sure

@seanbudd
Copy link
Member

In this case the label is being associated with the parent "my-input" tag, rather than the input box.
It seems that invalid HTML is being generated here.

@seanbudd seanbudd closed this as not planned Won't fix, can't repro, duplicate, stale Jul 20, 2023
@break-stuff
Copy link
Author

@seanbudd This is by design as it is part of the Form-Associated Custom Element/ElementInternals spec. I makes the custom element the input element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants