Hi @Nils_Werner, @eshen,
I’m not sure that we should remove every mention to the
summary attribute. The rule already warns about the deprecation:
adding a summary attribute to the
<table> tag. However note that this attribute has been deprecated in HTML5.
I would either:
- remove the code example from compliant solutions but keep the mention of this solution above.
- or repeat the warning in the compliant solution as it does not seem visible enough.
Developers often deal with legacy code, thus I prefer informing them of every solution with their downside rather than hide some and they have to guess if the code is accessible or not. Otherwise they can make mistakes such as adding a
<caption> to a
<table> which already has a
Does it make sense?