SlideShare ist ein Scribd-Unternehmen logo
1 von 8
Usable Tables




4.2.2008 - Pavel Růžička [MCPD]
Product Development Department
Define headers of rows and
columns

 The T H element defines a cell that contains header
  information
 Correct using ofT H elements causes, that table can be
  easily readed by the rows and by the columns
<thead>
  <tr>
    <td>&nbsp;</td>
    <th>Leden</th>
    <th>Únor</th>
    <th>Březen</th>
  </tr>
</thead>

<tbody>
  <tr>
    <th>Jablka</th>
    <td>100</td>
    <td>125</td>
    <td>80</td>
  </tr>
</tbody>

                                                           2
4.2.2008 - Pavel Růžička [MCPD]
Product Development Department
Scope of header cell
• use attributte s c o p e with row or col value
• it specifies the set of data cells for which the current header cell
  provides header information

<thead>
  <tr>
    <td>&nbsp;</td>
    <th scope="col">Leden</th>
    <th scope="col">Únor</th>
    <th scope="col">Březen</th>
  </tr>
</thead>

<tbody>
  <tr>
    <th scope="row">Jablka</th>
    <td>100</td>
    <td>125</td>
    <td>80</td>
  </tr>
</tbody>



                                                                         3
4.2.2008 - Pavel Růžička [MCPD]
Product Development Department
Summary of table

 Use attribute summary

 This attribute provides a summary of the table's purpose
  and structure for user agents rendering to non-visual media
  such as speech and Braille.
<table summary="Přehled cen jablek, hrušek a švestek za 1.Q roku">




                                                                 4
4.2.2008 - Pavel Růžička [MCPD]
Product Development Department
a b b r attribute should be used to provide an
 abbreviated form of the cell's content
<tr>
  <th scope="row" abbr="Množství jablek">Jablka</th>
  <td>100</td>
  <td>125</td>
  <td>80</td>
</tr>

   may be rendered by user agents when appropriate in place of the
    cell's content
   names should be short since user agents may render them
    repeatedly
   speech synthesizers may render the abbreviated headers relating
    to a particular cell before rendering that cell's content.


                                                                  5
4.2.2008 - Pavel Růžička [MCPD]
Product Development Department
Don’t use tables for layout!

 Tables should be used only for structured data – not
  for layout!

 Don’t use headers if you do it!

 Use <div> elements and CSS for layout rather using
  tables




                                                         6
4.2.2008 - Pavel Růžička [MCPD]
Product Development Department
Complicated nested tables


• http://www.w3.org/WAI/wcag-curric/sam45-0.htm




                                                  7
4.2.2008 - Pavel Růžička [MCPD]
Product Development Department
Table in audio applications




                                  8
4.2.2008 - Pavel Růžička [MCPD]
Product Development Department

Weitere ähnliche Inhalte

Ähnlich wie Usable tables in HTML, VXML

Web Developement Workshop (Oct 2009 -Day 1)
Web Developement Workshop (Oct 2009 -Day 1)Web Developement Workshop (Oct 2009 -Day 1)
Web Developement Workshop (Oct 2009 -Day 1)
Linux User's Group
 
EAD Revision Progress Report, SAA 2013
EAD Revision Progress Report, SAA 2013EAD Revision Progress Report, SAA 2013
EAD Revision Progress Report, SAA 2013
Michael Rush
 
HTML 5 Tables and Forms
HTML 5 Tables and FormsHTML 5 Tables and Forms
HTML 5 Tables and Forms
Doncho Minkov
 
Web forms and html lecture Number 3
Web forms and html lecture Number 3Web forms and html lecture Number 3
Web forms and html lecture Number 3
Mudasir Syed
 

Ähnlich wie Usable tables in HTML, VXML (20)

Html 5
Html 5Html 5
Html 5
 
Training HTML
Training HTMLTraining HTML
Training HTML
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
How to build tabular dashboards using proc report
How to build tabular dashboards using proc reportHow to build tabular dashboards using proc report
How to build tabular dashboards using proc report
 
PPT-203105353-1.pdf
PPT-203105353-1.pdfPPT-203105353-1.pdf
PPT-203105353-1.pdf
 
CSUN 2020: CSS Display Properties Versus HTML Semantics
CSUN 2020: CSS Display Properties Versus HTML SemanticsCSUN 2020: CSS Display Properties Versus HTML Semantics
CSUN 2020: CSS Display Properties Versus HTML Semantics
 
Html tables
Html tablesHtml tables
Html tables
 
Html4
Html4Html4
Html4
 
Html5 tags
Html5 tagsHtml5 tags
Html5 tags
 
Web Developement Workshop (Oct 2009 -Day 1)
Web Developement Workshop (Oct 2009 -Day 1)Web Developement Workshop (Oct 2009 -Day 1)
Web Developement Workshop (Oct 2009 -Day 1)
 
HTML: Tables and Forms
HTML: Tables and FormsHTML: Tables and Forms
HTML: Tables and Forms
 
How to create Treasure Data #dotsbigdata
How to create Treasure Data #dotsbigdataHow to create Treasure Data #dotsbigdata
How to create Treasure Data #dotsbigdata
 
EAD Revision Progress Report, SAA 2013
EAD Revision Progress Report, SAA 2013EAD Revision Progress Report, SAA 2013
EAD Revision Progress Report, SAA 2013
 
IDP_Project_2nd_Presentation_PPT Template.ppt
IDP_Project_2nd_Presentation_PPT Template.pptIDP_Project_2nd_Presentation_PPT Template.ppt
IDP_Project_2nd_Presentation_PPT Template.ppt
 
Hyper Text Markup Language - Presentation.pptx
Hyper Text Markup Language - Presentation.pptxHyper Text Markup Language - Presentation.pptx
Hyper Text Markup Language - Presentation.pptx
 
HTML 5 Tables and Forms
HTML 5 Tables and FormsHTML 5 Tables and Forms
HTML 5 Tables and Forms
 
01 HTML-Tables-1.pptx
01 HTML-Tables-1.pptx01 HTML-Tables-1.pptx
01 HTML-Tables-1.pptx
 
Apache CarbonData:New high performance data format for faster data analysis
Apache CarbonData:New high performance data format for faster data analysisApache CarbonData:New high performance data format for faster data analysis
Apache CarbonData:New high performance data format for faster data analysis
 
Web forms and html lecture Number 3
Web forms and html lecture Number 3Web forms and html lecture Number 3
Web forms and html lecture Number 3
 
03 Biz Talk 2010 Hands On Day Adapter Pack
03 Biz Talk 2010 Hands On Day  Adapter Pack03 Biz Talk 2010 Hands On Day  Adapter Pack
03 Biz Talk 2010 Hands On Day Adapter Pack
 

Mehr von Pavel Růžička (6)

Microformats
MicroformatsMicroformats
Microformats
 
Non functional requirements
Non functional requirementsNon functional requirements
Non functional requirements
 
Rich Internet Applications 2009 (Czech)
Rich Internet Applications 2009 (Czech)Rich Internet Applications 2009 (Czech)
Rich Internet Applications 2009 (Czech)
 
Make a shorter list by entering letters via DTMF
Make a shorter list by entering letters via DTMFMake a shorter list by entering letters via DTMF
Make a shorter list by entering letters via DTMF
 
How to enhance existing voice app with text channel
How to enhance existing voice app with text channelHow to enhance existing voice app with text channel
How to enhance existing voice app with text channel
 
Future of interface design 2010
Future of interface design 2010Future of interface design 2010
Future of interface design 2010
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Usable tables in HTML, VXML

  • 1. Usable Tables 4.2.2008 - Pavel Růžička [MCPD] Product Development Department
  • 2. Define headers of rows and columns  The T H element defines a cell that contains header information  Correct using ofT H elements causes, that table can be easily readed by the rows and by the columns <thead> <tr> <td>&nbsp;</td> <th>Leden</th> <th>Únor</th> <th>Březen</th> </tr> </thead> <tbody> <tr> <th>Jablka</th> <td>100</td> <td>125</td> <td>80</td> </tr> </tbody> 2 4.2.2008 - Pavel Růžička [MCPD] Product Development Department
  • 3. Scope of header cell • use attributte s c o p e with row or col value • it specifies the set of data cells for which the current header cell provides header information <thead> <tr> <td>&nbsp;</td> <th scope="col">Leden</th> <th scope="col">Únor</th> <th scope="col">Březen</th> </tr> </thead> <tbody> <tr> <th scope="row">Jablka</th> <td>100</td> <td>125</td> <td>80</td> </tr> </tbody> 3 4.2.2008 - Pavel Růžička [MCPD] Product Development Department
  • 4. Summary of table  Use attribute summary  This attribute provides a summary of the table's purpose and structure for user agents rendering to non-visual media such as speech and Braille. <table summary="Přehled cen jablek, hrušek a švestek za 1.Q roku"> 4 4.2.2008 - Pavel Růžička [MCPD] Product Development Department
  • 5. a b b r attribute should be used to provide an abbreviated form of the cell's content <tr> <th scope="row" abbr="Množství jablek">Jablka</th> <td>100</td> <td>125</td> <td>80</td> </tr> may be rendered by user agents when appropriate in place of the cell's content names should be short since user agents may render them repeatedly speech synthesizers may render the abbreviated headers relating to a particular cell before rendering that cell's content. 5 4.2.2008 - Pavel Růžička [MCPD] Product Development Department
  • 6. Don’t use tables for layout!  Tables should be used only for structured data – not for layout!  Don’t use headers if you do it!  Use <div> elements and CSS for layout rather using tables 6 4.2.2008 - Pavel Růžička [MCPD] Product Development Department
  • 7. Complicated nested tables • http://www.w3.org/WAI/wcag-curric/sam45-0.htm 7 4.2.2008 - Pavel Růžička [MCPD] Product Development Department
  • 8. Table in audio applications 8 4.2.2008 - Pavel Růžička [MCPD] Product Development Department