Use <button> elements for width toggler and close button
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3381315. --> Reported by: [yannickoo](https://www.drupal.org/user/531118) Related to !29 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The <code>&lt;</code> and <code>&times;</code> "buttons" are currently not <code>&lt;button&gt;</code> but <code>&lt;div&gt;</code> elements which makes them inaccessible.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Click edit icon and inspect the HTML, you can see <code>&lt;div&gt;</code> elements are being used.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Use <code>&lt;button type="button"&gt;</code> for width/close "button".</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>Elements will have a focus ring when tabbing via keyboard.</p>
issue