• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Nile Flores Media

Helping You Rock Out Your Website Like A Rockstar

  • Home
  • About
  • Blog
  • Portfolio
  • Hire Me
  • Resources
  • Contact
  • Blogging
  • WordPress
  • Social Media
  • SEO
  • Web Design
  • News
  • Podcast
You are here: Home » WordPress » WordPress Validation And WAI-ARIA

WordPress Validation And WAI-ARIA

By Nile Flores 5 Comments


For those who are W3 warriors, web standard is important. However, for those validating each page, you will run into a validation error on your comments.php with aria-required=’true’.

This is the code chunk where it is found in comments.php:


<?php if ($req) echo "aria-required='true'"; ?>

This refers to an WAI-ARIA Primer, which is basically an add-on to XHTML 1.1 for use in for accessibility with dynamic applications. It helps those with handicap to know what fields are required. The markup for WAI-ARIA is still in draft and has been since February 2008. While currently in draft and not yet fully supported, this is an area that either the template designer can either leave out the WordPress coding or keep it.

For accessibility sake and hopefully more development with WAI-ARIA, it is harmless to leave the code on comments.php.

What are your views on this feature?


Filed Under: WordPress Tagged With: code validation, semantic code, wordpress

About Nile Flores

Nile is a 43-year old female from the greater St. Louis (Southern Illinois side) area. Nile is a mother of 1 son. She is also a web designer and developer, a graphic designer, and a public speaker, who exclusively designs and develops using WordPress. She also blogs at GoDaddy's Blog, Verpex Hosting's blog and her very personal sites, Pixelled and Nail Polish Happy.




Related posts:

No related posts.

Reader Interactions

Comments

  1. akash says

    November 17, 2011 at 11:18 pm

    hello
    nice article i daily viist u r site u have a gud collections of article on ur website.You have mentioned very interesting details.thnx foe the great sharing .

    Reply
  2. Tom says

    November 18, 2011 at 12:23 pm

    Hi Nile,
    W3c validation is important. As a webmaster I made ??a few websites without CMS, and I have always paid attention to have all the pages w3c validated.

    Reply
    • Howard Walter says

      November 27, 2012 at 1:14 am

      W3c Validate is essential for any website because its massive used.

      Reply
  3. dev says

    January 14, 2012 at 2:20 am

    blogging as become a very interesting career option. Especially for students in college. Blogging via wordpress is really becoming popular.

    Reply
  4. Howard Walter says

    November 7, 2012 at 1:55 am

    because its easy and cost effective where free buyer can blogging there own way but remarking once.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Follow Me On:

  • Facebook
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube

Get The Latest WordPress & Blogging Tips

Sign up for my newsletter, and also get my free ebook on 10 Reasons Why Your Website Isn't Converting, and How to Fix it!




Try to be More Positive on Social Media

Note: You can click on image and view the video in a larger lightbox window.

Footer

The Blog

Lots of free information, tutorials, and more to help you bring your best foot forward with your website.

  • Blogging
  • WordPress
  • Social Media
  • SEO
  • Web Design

Get The Latest WordPress & Blogging Tips

Sign up for my newsletter, and also get my free ebook on 10 Reasons Why Your Website Isn't Converting, and How to Fix it!

Copyright © 2025 · · WordPress