From ca1d51aa09e7fc8ff3b955d96c439f91fff22433 Mon Sep 17 00:00:00 2001 From: Andrew Walton Date: Sat, 23 Nov 2019 14:32:06 -0500 Subject: [PATCH] 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 --- types/react/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 9937cb0299..2aa7ee5a52 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -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 extends HTMLAttributes {