Interesting

Discussion in 'HTML & Website Design' started by oo7ml, Feb 1, 2008.

  1. #1
    Is the target="_self" valid xhtml. Should we or should we not use it.

    I have been told lately that you should not use it so:

    <a href="page1.html" target="_self">page 1</a>


    should be:


    <a href="page1.html">page 1</a>


    So what is right???
     
    oo7ml, Feb 1, 2008 IP
  2. richer2004

    richer2004 Guest

    Messages:
    406
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <a href="page1.html" target="_self">page 1</a>

    equal

    <a href="page1.html">page 1</a>
     
    richer2004, Feb 1, 2008 IP
  3. oo7ml

    oo7ml Well-Known Member

    Messages:
    656
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #3
    Ok cool, sorry to go off topic but is it ok (or valid xhtml) to use the same value for two different alt attributes on the same page

    <img src="left.jpg" alt="content" />

    <img src="right.jpg" alt="content" />

    Is it ok to have the same value for to alts on the same page?
     
    oo7ml, Feb 1, 2008 IP
  4. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes. Not providing meaningful alternative text for images is the most frequent Accessibility error committed by Web Authors - fortunately one that is easily corrected. Appropriate Use of Alternative Text by WebAIM is an excellent reference and guide for complying with this essential Web Content Accessibility requirement.

    Note that you shouldn't use the same text for different links on the same page -- that is very confusing in screen readers or BRAILLE interpreters (especally JAWS) employed by blind people or those with severely impaired vision.

    Thank you for your consideration of People with Disabilities: Web Content Accessibility .

    James
     
    jamesicus, Feb 1, 2008 IP
  5. oo7ml

    oo7ml Well-Known Member

    Messages:
    656
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #5
    Thanks a million for the links. I have being looking for some good literature on this subject for quite a while now, thanks
     
    oo7ml, Feb 1, 2008 IP