SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Similaire à 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
 

Similaire à 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
 

Plus de 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
 

Dernier

Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
Muhammad Subhan
 

Dernier (20)

Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdfGenerative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdf
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 

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