-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
[BUG]: Certain ARIA roles must contain particular children #17161
Comments
For new contributors
|
Hi @sagangwee, thanks for proposing this as a good first issue. I am removing the label for now and looping in @DubeySandeep to approve the label. It will be added back if approved. Thanks! |
and sir pls assign me admin role so I can fix this error and creat a PR |
@bhubneshmaharana Per the guidance at https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#choosing-a-good-first-issue, please provide an explanation of what your PR will do (with names of files you're changing, what you plan to change in each file, etc.). If it looks good, we can assign you to this issue. Please also follow the other instructions on that wiki page if you have not yet done so. Thanks! |
hello sir , please assign me this task so , that I can clear the bug and get a good experience. |
@mansi1234567890 See my previous comment in this thread, which has instructions on how to claim an issue. |
Hi @seanlip, And you replying to them by
I think we can automate your reply by implementing a github-action-bot which will specifically target the assign keyword from the first time contributors and post this reply to them tagging their username. What do you think? |
Hi @pawelborkar, I'm not sure if we should do that, but thanks for your suggestion. Sometimes people do actually provide the necessary details and ask to be assigned, and in such cases I think it would not be great for them to receive that message. The thing I am confused about is that this guidance is part of our standard onboarding flow and wiki pages, which I feel like many people might be skipping. If you have a suggestion for how to make this more prominent somehow, we'd be all ears! |
We can fix the issue by adding @seanlip Can i be assigned to this issue? |
Thanks @dante381. One question: conceptually, what is going on here? What is the aria role that's problematic, and why does it need to "contain particular children"? What is the significance of putting aria-busy where you're putting it? (In order to assess whether an auto-recommended fix makes sense, it's necessary to understand a bit more about why we're doing the fix. If you can explain this and confirm that your fix is the right thing to do conceptually, I'd be happy to assign you the issue.) |
Aria role is required as to define the purpose of the element. As developers try to understand the code the aria role allows to understand the role of the tag and its purpose. The aria-busy attribute set to true indicates that region is loaded with new content. This will be helpful for people who use a screen reader. @seanlip I hope this explains the fix. |
Yup, I know what aria roles are -- my question is why we are making this specific change for these specific elements. For example, could you please explain which element exactly needs to contain particular children, and why? And then, conceptually, what are you adding the aria-busy to and why is it the right fix? |
Greetings! @seanlip can you please assign me this issue will make changes to state-responses.component.html adding aria-busy = "true" Ran an Axe dev tool scan |
This seems sensible to me conceptually, thanks @dante381. Assigning you. (@PVenkatArvind For the record, your explanation is a bit too generic and I can't understand its relevance to the specific code that is under consideration. So, even though you wrote it first, I can't assign you to this issue.) |
Greetings! @seanlip , Noted ! with thanks ! |
@seanlip Could you please review the changes? |
Hi @dante381, your PR reviewer is @nithinrdy. I'll defer to him to take a pass. Thanks! |
Closing as fixed in #17627 |
I want join your organization, and I know react,javaScript,Tailwind for css,Normal Css,Html |
I want join your organization. |
Describe the bug
Ensures elements with an ARIA role that require child roles contain them
Steps To Reproduce
Login to www.oppiatestserver.org
Go to Contributor dashboard
In Review Questions tab, select any question and click on Review button
Run axe devtools
See errors
Expected Behavior
To solve this problem, you need to
Fix at least (1) of the following:
Required ARIA child role not present: tab
Element has no aria-busy="true" attribute
Screenshots/Videos
What device are you using?
Desktop
Operating System
Other
What browsers are you seeing the problem on?
Chrome
Browser version
108.0.5359.111
Additional context
No response
The text was updated successfully, but these errors were encountered: