Disallowed markup in definition lists
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3373985. -->
Reported by: [bnjmnm](https://www.drupal.org/user/2369194)
Related to !273
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>On several pages such as admin/structure and node/add, the following error appears with a basic A11y scan </p>
<pre><dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements</pre><p>In these cases, it is because there is an <code><a></code> tag in the definition list markup. These items should remain links, so we should change the markup to use something other than definition lists</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Change the <code><dl><dd><dt></code> to <code><div></code>s. Instead of using definitions, associate elements using <a href="https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-details">aria-details</a>.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue