WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Graphical element instead of the role link presence. How should I report it?

for

From: Vsevolod Popov
Date: Mar 3, 2021 11:53AM


Hello,

Thank you for your tip :).

So, the question is:

What is the difference between the code view that opens with ctrl+u and
inspecting the page by pressing ctrl+shift+i?

Why aren't objects displayed in the code when they are displayed in DOM?

I thought that if the object is displayed in the DOM it will be also
repeeted in the code.

Or how does it work?

What is the huge difference between these two?

Do I understand correctly that if the element is displayed from java
script there will be the source to java script in the code and the java
script elements themselves will be in the DOM?

I am sorry if my questions can be strange, I am beginner in
accessibility testing, so I decided that it's better to ask and make
sure that I get it right.

Thank you in advance!


03.03.2021 19:49, glen walker пишет:
> Being given a website to "practice" might also be a way for your employer
> to evaluate your skills, and if we help you in that respect, it would skew
> the results. But you were also being honest about the purpose of reviewing
> the page (which, perhaps you shouldn't have been 😉). You could have said
> you were reviewing the page and left out that it was for practice.
>
> So before we dive in too deep, use the browser's code inspector tool (f12)
> instead of "view source" (ctrl+u) so that you can see the html that was
> generated by the javascript. You'll see that the "link" is just an <img>
> with a click handler. You're on the right track with your solution.
>
> As far as the alt text, that's subjective. I, personally. wouldn't use
> "logo" in the alt text but it's not quite a failure. Does it indicate it
> takes you to the home page? Not really, but having an image/link as the
> first thing on the page is generally understood to be a "home" link. So if
> I were writing the report about fixing the image/link (which *does* have to
> be fixed), I would also note my preference about the alt text but it would
> be a side note.
>
>
>
> --
> Best regards,
> Vsevolod