<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Non-unique IDs created for collapsible calcite-block chevron button in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/non-unique-ids-created-for-collapsible-calcite/m-p/1355584#M539</link>
    <description>&lt;P&gt;The duplicate IDs warnings are generated when strict HTML guidelines are applied by the browser, which is fine with me.&amp;nbsp; The calcite-block chevron toggle buttons should not have the same ID of "toggle", but instead just the "toggle" class, which would be similar to the calcite-accordion-item chevron dropdown button.&amp;nbsp; So maybe the Calcite team can have a look at this for future releases&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/574219"&gt;@KittyHurley&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
    <pubDate>Fri, 01 Dec 2023 09:23:59 GMT</pubDate>
    <dc:creator>FC_Basson</dc:creator>
    <dc:date>2023-12-01T09:23:59Z</dc:date>
    <item>
      <title>Non-unique IDs created for collapsible calcite-block chevron button</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/non-unique-ids-created-for-collapsible-calcite/m-p/1353122#M531</link>
      <description>&lt;P&gt;These warnings are popping up during page load in Chrome, which indicates that there are multiple elements&amp;nbsp; being created with the same ID.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FC_Basson_0-1700819673755.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87027iAB0543B3E660873B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FC_Basson_0-1700819673755.png" alt="FC_Basson_0-1700819673755.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;These elements are all linked to the chevron (collapse toggle) button of a "calcite-block" and are all given the same "id" attribute value of "toggle".&amp;nbsp; Is there any way to prevent this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 10:00:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/non-unique-ids-created-for-collapsible-calcite/m-p/1353122#M531</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2023-11-24T10:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Non-unique IDs created for collapsible calcite-block chevron button</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/non-unique-ids-created-for-collapsible-calcite/m-p/1353697#M533</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/105462"&gt;@FC_Basson&lt;/a&gt;&amp;nbsp;do you have a code sample you could share where you're seeing this? I wasn't able to see it in chrome.&lt;/P&gt;&lt;P&gt;These id's are within the shadowRoot of a component so they should not be conflicting with each other since they are in a different DOM root.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 19:10:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/non-unique-ids-created-for-collapsible-calcite/m-p/1353697#M533</guid>
      <dc:creator>MattDriscoll</dc:creator>
      <dc:date>2023-11-27T19:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Non-unique IDs created for collapsible calcite-block chevron button</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/non-unique-ids-created-for-collapsible-calcite/m-p/1354548#M535</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16265"&gt;@MattDriscoll&lt;/a&gt;.&amp;nbsp; I'm not able to recreate the results outside of my existing code base.&amp;nbsp; Noted that the elements with the same IDs are indeed in a different DOM root.&lt;/P&gt;&lt;P&gt;The first line of the warnings is this: [DOM] Found 24 elements with non-unique id #toggle: (More info: &lt;A href="https://www.chromium.org/developers/design-documents/create-amazing-password-forms" target="_blank" rel="noopener"&gt;https://www.chromium.org/developers/design-documents/create-amazing-password-forms&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Which led me to observing the following:&amp;nbsp; I have a calcite-input element of type "password" inside a calcite-modal (hidden at startup).&amp;nbsp; If I change the calcite-input type to "text", the ID errors do not show up.&amp;nbsp; If I set the type back to "password" after the page has loaded, the ID warnings immediately appear in the console.&amp;nbsp; It also seems that the issue is related with the autocomplete property of the input.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 09:01:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/non-unique-ids-created-for-collapsible-calcite/m-p/1354548#M535</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2023-11-30T09:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Non-unique IDs created for collapsible calcite-block chevron button</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/non-unique-ids-created-for-collapsible-calcite/m-p/1355584#M539</link>
      <description>&lt;P&gt;The duplicate IDs warnings are generated when strict HTML guidelines are applied by the browser, which is fine with me.&amp;nbsp; The calcite-block chevron toggle buttons should not have the same ID of "toggle", but instead just the "toggle" class, which would be similar to the calcite-accordion-item chevron dropdown button.&amp;nbsp; So maybe the Calcite team can have a look at this for future releases&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/574219"&gt;@KittyHurley&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 09:23:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/non-unique-ids-created-for-collapsible-calcite/m-p/1355584#M539</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2023-12-01T09:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Non-unique IDs created for collapsible calcite-block chevron button</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/non-unique-ids-created-for-collapsible-calcite/m-p/1355877#M544</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/105462"&gt;@FC_Basson&lt;/a&gt;&amp;nbsp;, we did find a potential chrome bug that may be related to the password issue.&lt;/P&gt;&lt;P&gt;&lt;A href="https://bugs.chromium.org/p/chromium/issues/detail?id=1496312&amp;amp;q=duplicate%20id%20shadow&amp;amp;can=2" target="_blank"&gt;https://bugs.chromium.org/p/chromium/issues/detail?id=1496312&amp;amp;q=duplicate%20id%20shadow&amp;amp;can=2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The id's for toggle shouldn't be an issue since they are encapsulated within a shadowRoot. So it might just be a false positive warning that is occurring here.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 19:14:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/non-unique-ids-created-for-collapsible-calcite/m-p/1355877#M544</guid>
      <dc:creator>MattDriscoll</dc:creator>
      <dc:date>2023-12-01T19:14:21Z</dc:date>
    </item>
  </channel>
</rss>

