Tabular Forms Idea (14th April 2008)
(Followup to the Tables with form fields: am I crazy? topic and my previous blog entry.)
An idea for detecting and handling tabular forms:
- If there is a
<th>,scopeorheaders:- Apply the table header association algorithm.
- If there is a form control:
- Get the control labels from the headers for that cell.
- If there is a
<label>:- Add to the control labels using the
<label>association algorithm.
- Add to the control labels using the
- Otherwise:
- If there is a form control:
- If there is a
<label>:- Get the control labels using the
<label>association algorithm.
- Get the control labels using the
- Otherwise:
- Get the control labels using the absent
<label>heuristics.
- Get the control labels using the absent
- If there is a
- If there is a form control:
- End.
Or just say:
<label>association works the same inside and outside of<table>elements.- The headers of a table cell apply to all its descendants, like
title.