If this is the structure:
<table cellspacing="0" cellpadding="0"> <tr> <td>I don't need anything here, should I always put a here?</td> <td>item </td> </tr> <tr> <td>model</td> <td>one</td> </tr> <tr> <td>model</td> <td>two</td> </tr> <tr> <td>model</td> <td>three</td> </tr> </table>
How will a screen reader read a blank td
? Is it semantically correct?
: to use (something) in an effective way I'm looking forward to putting my new skills to use. Thanks for the donation.
Make a supportive remark or favorable recommendation. For example, Please put in a good word for me with the supervisor, or When you see her, put in a good word for the department. The use of good word for a laudatory utterance dates from about 1200.
Definition of put in a good word : to say something good about someone Would you mind putting in a good word for me?
Semantically correct IMHO would be to keep an empty cell really empty. However, I, too, fill empty cells with
s for pragmatic reasons.
As for screen readers, I'll have to make an educated guess: Empty nodes will likely not be read, because HTML consists mostly of whitespace text nodes, which readers ignore, and I assume, that
is collapsed to a simple space in reader applications (since non-breaking is a property of visual media).
For rendering visually, one could rely on the CSS table property empty-cells
:
table { empty-cells: show; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With