E-mail List Archives
Re: 4.1.2 correct roles
From: Mark Magennis
Date: Aug 24, 2022 2:59AM
- Next message: Birkir R. Gunnarsson: "Re: 4.1.2 correct roles"
- Previous message: konstantin galiakhmetov: "4.1.2 correct roles"
- Next message in Thread: Birkir R. Gunnarsson: "Re: 4.1.2 correct roles"
- Previous message in Thread: konstantin galiakhmetov: "4.1.2 correct roles"
- View all messages in this Thread
Konstantin,
Functionally this is a button so it should have a button role. It's okay to have an element that is both a heading and a button though:
<h1><button onclick="alert('hello')">Test</button></h1>
Note that the button must be within the heading, not the heading within the button.
Mark
- Next message: Birkir R. Gunnarsson: "Re: 4.1.2 correct roles"
- Previous message: konstantin galiakhmetov: "4.1.2 correct roles"
- Next message in Thread: Birkir R. Gunnarsson: "Re: 4.1.2 correct roles"
- Previous message in Thread: konstantin galiakhmetov: "4.1.2 correct roles"
- View all messages in this Thread