#toolbar-item-user id can appear twice when user item also in secondary toolbar
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3373557. --> Reported by: [bnjmnm](https://www.drupal.org/user/2369194) Related to !270 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Because the secondary toolbar can include items also in the primary toolbar, the <code>#toolbar-item-user</code> id can appear twice on the same page which can lead to JS errors and results in basic accessibility scans failing.</p> <p>There are other duplicate id problems that are best addressed in the gin_toolbar module, which will get its own issue, but this one is most easily addressed in the theme itself.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <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