Confirmed users
1,396
edits
DavidBolter (talk | contribs) m (→ARIA girdcell) |
|||
| Line 53: | Line 53: | ||
====Selection and Focus==== | ====Selection and Focus==== | ||
Cells can be focused/selected only. Rich insists on this because otherwise it is a pain to read cell content within heading information for screen readers users. | Cells can be focused/selected only. | ||
<div style="border:1px solid #f3e0b6;border-width:1px 0;padding:10px 15px;"> Rich insists on this because otherwise it is a pain to read cell content within heading information for screen readers users. On another hand historically XUL trees allows to choose whether rows or cells can be selected. Also Thunderbird might be a good example where row selection mode is sensible from UI point of view. Thunderbird has a tree or list of email messages (depending on chosen mails grouping) which allows operations on emails. For example, you can select email (which is presented by row) to delete it. So if you will be able to select cells only then "delete mail" operation might be not logical when "subject" cell, for example, is selected only. | |||
</div> | |||
Focus is controlled by @tabindex attribute placed on cell element or by @aria-activedescedant attribute pointing to cell element if @tabindex is on grid element. | Focus is controlled by @tabindex attribute placed on cell element or by @aria-activedescedant attribute pointing to cell element if @tabindex is on grid element. | ||