Update th and td attributes to include abbr (#40464)

Both `th` and `td` attributes accept the attribute `abbr`, which is meant to be an abbreviated description of the cell's content, mostly for screen readers.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
This commit is contained in:
Andrew Walton
2019-11-23 19:32:06 +00:00
committed by John Reilly
parent 3b6c5e9484
commit ca1d51aa09
+2
View File
@@ -2196,6 +2196,7 @@ declare namespace React {
headers?: string;
rowSpan?: number;
scope?: string;
abbr?: string;
valign?: "top" | "middle" | "bottom" | "baseline";
}
@@ -2205,6 +2206,7 @@ declare namespace React {
headers?: string;
rowSpan?: number;
scope?: string;
abbr?: string;
}
interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {