Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: alt tags needed?

  1. #1
    Member Stormraven's Avatar
    Join Date
    Dec 2008
    Posts
    62

    Default alt tags needed? 25 Dec 2008 @ 19.50

    Someone mentioned to me once that images had to have an alt because if not then they would not pass the css validtion test, is this true? if not, did they mean they had to have an id like this id="image1" or could you get away with just using alt=""? I just hate it when you put your mouse over a banner and it says something like 'menu right' it just kinda annoys me :shades_smile:
      Reply With Quote

  2. #2
    Trusted Guru saltedm8's Avatar
    Join Date
    Jun 2011
    Posts
    1,969
    Blog Entries
    3

    Default 25 Dec 2008 @ 20.15

    it should be done with alt="my tag" but it does not have to be done with css rendered images, just those that are directly in the html
      Reply With Quote

  3. #3
    Member Stormraven's Avatar
    Join Date
    Dec 2008
    Posts
    62

    Default 25 Dec 2008 @ 20.26

    CSS rendered image? you just mean like backgrounds?
      Reply With Quote

  4. #4
    Trusted Guru saltedm8's Avatar
    Join Date
    Jun 2011
    Posts
    1,969
    Blog Entries
    3

    Default 25 Dec 2008 @ 20.28

    yup thats what I mean, sorry lol..
      Reply With Quote

  5. #5
    Member Stormraven's Avatar
    Join Date
    Dec 2008
    Posts
    62

    Default 25 Dec 2008 @ 20.31

    Althought I could apply the alt tag and use JS to stop it from showing, hmm. Maybe it would work :P Cheers for the quick reply mate
      Reply With Quote

  6. #6
    Trusted Guru saltedm8's Avatar
    Join Date
    Jun 2011
    Posts
    1,969
    Blog Entries
    3

    Default 25 Dec 2008 @ 20.56

    no problem.. hope it helped
      Reply With Quote

  7. #7
    Member Stormraven's Avatar
    Join Date
    Dec 2008
    Posts
    62

    Default 25 Dec 2008 @ 21.57

    It helped alot, thankyou.
      Reply With Quote

  8. #8
    Gaz
    Gaz is offline
    Member Gaz's Avatar
    Join Date
    Jan 2009
    Posts
    113

    Default 27 Jan 2009 @ 12.46

    The reason you should be using them is for people using screen readers, as people using these are genreally blind and the image alt will be read out by the screen reader. It's more of an accesibilty and usability issue than a CSS issue but at the end of the day it's good practice.

    I would also suggest placing a full stop at the end, otherwise the reader won't pause, and what i would use normally is something along the lines of 'alt="Image: displaying a landscape view of a river"' This will also be use full for people browsing in text based browsers.
      Reply With Quote

  9. #9
    Trusted Guru saltedm8's Avatar
    Join Date
    Jun 2011
    Posts
    1,969
    Blog Entries
    3

    Default 27 Jan 2009 @ 12.49

    quote
    I would also suggest placing a full stop at the end, otherwise the reader won't pause
    I never knew that.. thanks
      Reply With Quote

  10. #10
    Trusted Guru Frinkky's Avatar
    Join Date
    Dec 2008
    Posts
    1,678
    Blog Entries
    1

    Default 27 Jan 2009 @ 12.58

    Great tip Gaz.
      Reply With Quote

Page 1 of 2 12 LastLast

Similar Threads

  1. meta tags?
    By ljackson in forum General Design & Development Issues
    Replies: 33
    Last Post: 17 Dec 2009, @ 21.00
  2. Meta Tags...? Why so Many...?
    By Wrams in forum HTML & CSS
    Replies: 11
    Last Post: 18 Oct 2009, @ 17.04
  3. Heading Tags - Using same content within them, advice needed!
    By Michael in forum SEO (Search Engine Optimisation) & Search Engines
    Replies: 5
    Last Post: 7 Feb 2009, @ 23.33

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •