3.1 Readable: Make text content readable and understandable.
Success Criteria 3.1.1 Language of Page (A)
3.1 Readable: Make text content readable and understandable.
Success Criteria 3.1.1 Language of Page (A)
3.1 Readable: Make text content readable and understandable
Success Criteria 3.1.1 Language of Page (A)
dir attribute if the document's primary language is read right to left.
dir attribute to your html element.
<html dir="rtl" />
dir attribute on the html element.dir attribute's value is "rtl" for languages that are read left-to-right or "ltr" for languages that are read right-to-left.dir attribute if the document's primary language is read right to left.dir attribute to the html element and set its value to "rtl".dir attribute is set.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="he" lang="he" dir="rtl"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>ATRC Testfile - Check #273.2 - Negative</title> </head> <body> <p></p> </body> </html>
dir attribute is not set.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ar" lang="ar"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>ATRC Testfile - Check #273.1 - Positive</title> </head> <body> <p></p> </body> </html>