E-mail List Archives
Re: Landmark and HTML 5
From: Jared Smith
Date: Mar 9, 2020 2:21PM
- Next message: Jonathan Avila: "Re: PDF files crushes with screen readers"
- Previous message: Eilana Benish: "PDF files crushes with screen readers"
- Next message in Thread: glen walker: "Re: Landmark and HTML 5"
- Previous message in Thread: Patrick H. Lauke: "Re: Landmark and HTML 5"
- View all messages in this Thread
> So you could play it safe and do both (native HTML
> element with redundant role that says the same thing). It won't have any
> adverse effect.
... so long as the appropriate roles are used. We see incorrect roles
attached to regions all time time - like <nav role="menu"> (instead of
"navigation") or <footer role="complementary"> (instead of
"contentinfo"), not to mention <h2 role="header">, <input
role="search">, etc., etc.
Because of the broad current support, I no longer advise doubling up.
While doing so causes no issues if done correctly, these introduce a
place for breakage that tends to happen rather frequently.
Thanks,
Jared
- Next message: Jonathan Avila: "Re: PDF files crushes with screen readers"
- Previous message: Eilana Benish: "PDF files crushes with screen readers"
- Next message in Thread: glen walker: "Re: Landmark and HTML 5"
- Previous message in Thread: Patrick H. Lauke: "Re: Landmark and HTML 5"
- View all messages in this Thread