Commit 60d6b64
committed
fix(template-interactive-supports-focus): apply tabindex carve-outs to contenteditable (Copilot review)
Mirror the disabled/hidden-input guard already on the tabindex branch:
the UA ignores contenteditable on disabled form controls and on
<input type='hidden'> just as it ignores tabindex, so contenteditable
must not count as satisfying the focus requirement in those cases.1 parent c4b6ff7 commit 60d6b64
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
223 | 226 | | |
224 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
225 | 236 | | |
226 | 237 | | |
227 | 238 | | |
| |||
0 commit comments