1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Logo missing alt attribute (admincp)

Discussion in 'Resolved Bug Reports' started by rellect, Aug 16, 2015.

  1. rellect

    rellect Well-Known Member

    Just a little thing I found during html validation test of my code. The logo in the admincp missing the alt attribute.
    empire and imthebest like this.
  2. Mr Lucky

    Mr Lucky Well-Known Member

    Good point
  3. EQnoble

    EQnoble Well-Known Member

    It doesn't matter, search engines can't see your acp so anything to do with search visibility, ranking, accessibility etc doesn't really benefit in any way here.

    When you are not logged in there is alt text -

    <img src="styles/default/xenforo/XenForo.png" id="loginLogo" alt="XenForo Logo">

    and when you are logged in there is not which again dsoesn't matter because google is never going to see the logged in view of your ACP.

    Alt text is a good habit but I don't know it it benefits to change anything here...unless we are talking about different logos here and what I said doesn't apply to it.
  4. Mr Lucky

    Mr Lucky Well-Known Member

    I would not want that.

    I thought that one of the important things is for people with visual impairment:

    (from Wikipedia)

    Alternative text is text associated with an image that serves the same purpose and conveys the same essential information as the image.[1] In situations where the image is not available to the reader, perhaps because they have turned off images in their web browser or are using a screen reader due to a visual impairment, the alternative text ensures that no information or functionality is lost.

    In that case we should use alt text to be explicit IMO.
  5. EQnoble

    EQnoble Well-Known Member

    That's what shows on your acp now when at the login screen AKA what the public would see.

    I don't see much functionality being lost by not displaying alt text in place of a logo that only the site owners for the most part will ever see anyways, I get your point, but the logo does not do much in that place and personally I have never even thought about clicking it in the ACP to get the public homepage until now because the same link is essentially right below it to the right in the form of your site name as a link right before the search so no functionality is actually lost imo as I have always thought that the logo was there as a nice touch and as a link for people who didn't belong at that ACP login page to get back tot he frontend easily, once logged in the logo doesn't serve much purpose to a site owner..


    I'm not against following common practices I just don't see this as an accessibility issue since to the public...it has alt text (what I posted above is currently what it is at ACP login) and for the most part people should be accessing that page anyways and if they shouldn't be, they will almost certainly not see the logged in view of that image which has no alt text
    Last edited: Aug 17, 2015
  6. rellect

    rellect Well-Known Member

    It's less about the benefit and more about code perfection.
    imthebest likes this.
  7. Mr Lucky

    Mr Lucky Well-Known Member

    I missed the bit about this being the ACP logo.

    In which case it really doesn't matter.
  8. Mike

    Mike XenForo Developer Staff Member

    Search visibility doesn't count, but accessibility does, though it's not really significant here. That said, I have added various missing alt attributes beyond just this one.
    Mr Lucky likes this.

Share This Page