Jump to content

Weird table attribute


sircharlo
 Share

Recommended Posts

Guest FirefoxRocks

1. You have an old version of HTML Tidy for Firefox (if you are using that extension).2. You may have Tidy checking for web accessibility.3. The summary attribute is not required for valid XHTML, but it is a good idea to include it in a data table (a table not used for layout) for accessibility purposes. It should be close to the content in your <caption> tag (if you have one).

Link to comment
Share on other sites

Guest FirefoxRocks
1. I have the latest version of the HTML Validator extension on FF.2. No, web accessibility check is not enabled.3. What the heck is a caption tag ?
Well the <caption> element provides information to blind people using a screen reader. (this is also true for the summary attribute). However, <caption> is visible on your screen, it is displayed above your first table row centered. The summary attribute is only for bots and software to read it, it isn't displayed.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...