-
Notifications
You must be signed in to change notification settings - Fork 99
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
[Label & Input]: [When any test associates with any input field before or after the input field must read, but currently is not working] #6316
Comments
Hi @jadhavarjun
In your example, you didn't add any props to make a relation between the label and input component, so it's expected that screen readers don't read out the label when focusing the input. Please update the example, to show the issue you're facing. Otherwise we unfortunately can't help here. |
Hi @Lukas742 , I am not facing any issue in https://stackblitz.com/edit/github-517e38-x2zq56?file=src%2FApp.tsx this link in that link I have updated code and I not sending anything through props in it, but I have given id in the label, and I am accessing the same id in the input field through accessibleNameRef attribute. but in my local code I am passing so many data through props but there also I am doing same I am adding id into the label and same I am accessing into input field as accessibleNameRef attribute. here i am pasing small part of code in that i am getting issue. `{fields.map((item, index) => {
we have button when we click on that button adding new field and for first field is reading as expected but after the first field means second third field not reading correctly. |
@jadhavarjun we cannot work with code snippets that implement components not defined in the example. We therefore ask for an isolated, reproducible example; otherwise, we won't be able to help. Additionally, could you please answer the open question regarding the version? In your updated example you're still using v2... |
@Lukas742 , in reproducible stackblitz link I have using these version "@ui5/webcomponents": "2.1.2", "@ui5/webcomponents-react": "2.0.2", |
@jadhavarjun Ok, we will then only look into the v2 implementation. I've checked your example and the If this behavior is different for you, please provide all the necessary information listed here. |
@Lukas742 , I will provide all the details that you mention your above comment but can while I am collecting all the details can you create stackblitz link in react+js with UI5 Web Components for React Version ^1.16.3, UI5 Web Components Version^1.14.0 and share with me so I will check if that is not version problem. |
Hi @jadhavarjun
StackBlitz examples are editable and sharable, so you can define the dependencies yourself inside |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Inactive issues will be closed after 7 days. Thanks. |
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please first check to see if the maintainers have requested additional input and provide it if necessary, or post a detailed description of why this issue is still a problem. |
Describe the bug
When any test associates with any input field before or after the input field must read, basically whenever we go by tab and our focus is on input field with that text or Label are associates that must be read but currently is not working.
I have tried with id and accessibleNameRef attribute only for first index its work but when we add more fields by clicking on add button so it will add dynamically into the DOM and its show provided ID and accessibleNameRef but after that also after the JAWS reader read first input field associated label aftet the first field it will not read any other fields.
NOTE: I have created similar reproduce code link but in that working perfectly fine it's read every field perfectly but in my UI case is only reading first field perfectly and after first field reader not read label that associated with input field.
here is reproduce code link: https://stackblitz.com/edit/github-517e38?file=src%2FApp.tsx
STEPS:
1: open link i have already added default two input field and labels.
2.you can click add button and you can add more fields as many as you want.
3. then open reader and navigate through tab and see whenever you focus on any input field their respective label is read by reader.
but in my local website is not working case is not working only first and second time reader reads associates labels with input and that issue i am facing across the website.
here is screenshot:
Is there version issue.
Isolated Example
No response
Reproduction steps
...
Expected Behaviour
if any text/label have relation with any button, input, links and table headings must be readable when we have focus.
Screenshots or Videos
No response
UI5 Web Components for React Version
^1.16.3
UI5 Web Components Version
^1.14.0
Browser
Chrome
Operating System
Windows
Additional Context
No response
Relevant log output
No response
Organization
No response
Declaration
The text was updated successfully, but these errors were encountered: