I can’t figure out what this attribute does and how it should be written and where? because the instructions on this site have not been finalized to the mind.
Also, here is my code, but in order to explain it to me, I need to understand, but there is no understanding from these tasks.
Please always post the url to the step/challenge you are currently working on so we have more context.
Thank you.
In the future, the easiest way to do this is to use the Get Help link on the step/challenge which will allow you to create a forum post with your code and a link to the challenge.
I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
When I taught layout at school, everything was simple and clear, but here it’s impossible to understand anything at all, why such difficulties as a region indicated by arias, a roll, it’s not realistic to understand why you complicate simple material?
I’d bet you were taught in Russian. Learning, or reviewing, something complex like coding in a language that isn’t your native language is doubly hard. It being hard just means its hard. It doesn’t mean we are cruelly attempting to sabotage your education with confusing language.
No one is forcing you to use this curriculum. If you think there is better curriculum out there, I would recommend finding and using it instead.
This curriculum is designed to build a project without always explaining why of every little thing you are instructed to do. If you work through the entire curriculum, you will start to see patterns in the implementation of various concepts and learn the “why” part. If not, then you can always use Google to research a concept further.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 YaBrowser/23.1.1.1138 Yowser/2.5 Safari/537.36
Challenge: Learn Accessibility by Building a Quiz - Step 16
Link to the challenge:
The code as always does not work, where is the error?
FYI, I’m currently working on a suggestion to reword the instructions for this step because there is a slight error in the accessibility information it is giving and also with the hopes of explaining more clearly what the aria-labelledby attribute is doing here.
The aria-labelledby attribute is used to give elements an accessible name. The accessible name is used by assistive technology, primarily screen readers, to help the user distinguish an element from other elements on the page.
In this case, there are three regions on the page. Screen reader users are able to navigate a page by these regions. Without an accessible name a screen reader user will just hear “region” when they navigate to each of these regions, so they won’t be able to tell which one they are on. By adding an accessible name with aria-labelledby they will hear the name of the region as well, so now they will know which region they are currently on.