February 22, 201115 yr Hello Some time ago for some reason I got the impression that expressing the direction of your text on a page using a code like <html dir="ltr"> is helpful for screen readers. So I made this the beginning code on all my pages. Now, I check my site for accessibility at Deque Worldspace Free Analysis (not allowed to provide link) only to receive an error regarding the line where that code of mine is- the error says: On change in text direction, content should still be in meaningful sequence (Success Criterion 1.3.2 - Level A) Which of course is the opposite of what I was trying to do. Can someone explain whether I need the <html dir="ltr"> tag or not? And its effect on screen readers? Thanks EDIT: Which of course is the opposite of what I was trying to do. No, actually I don't know what that error message means. Edited February 22, 201115 yr by timmo76
February 22, 201115 yr I don't think you do need the <html dir="ltr"> tag. I don't use it and I've never seen it for a site with normal left to right script. I think it would be a good idea if you have a page with some text left to right and then use the tag only for the right to left text. I think the error is because the validator thinks that you are changing the direction when in fact you aren't. However, I've never really considered this before so I may be corrected. Edit: I found this:- http://www.w3.org/TR/html401/struct/dirlang.html Edited February 22, 201115 yr by Wickham
Create an account or sign in to comment