Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give buttons unique id attributes #275

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions apiExamples/common.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<auro-dropdown id="common" common aria-label="Label content for screen reader">
<div style="padding: var(--ds-size-150);">
Lorem ipsum solar
<br />
<auro-button onclick="document.querySelector('#common').hide()">
Dismiss Dropdown
</auro-button>
</div>
<span slot="helpText">
Help text
Expand Down
4 changes: 0 additions & 4 deletions apiExamples/commonLabelledby.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
<auro-dropdown id="commonAdvanced" aria-labelledby="foo" bordered rounded inset chevron>
<div style="padding: var(--ds-size-150);">
Lorem ipsum solar
<br />
<auro-button onclick="document.querySelector('#commonAdvanced').hide()">
Dismiss Dropdown
</auro-button>
</div>
<span slot="helpText">
Help text
Expand Down
5 changes: 1 addition & 4 deletions apiExamples/commonMatchWidth.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<auro-dropdown id="common" common matchWidth aria-label="Label content for screen reader">
<auro-dropdown id="commonMatchWidth" common matchWidth aria-label="Label content for screen reader">
<div style="padding: var(--ds-size-150);">
Lorem ipsum solar
<br />
<auro-button onclick="document.querySelector('#common').hide()">
Dismiss Dropdown
</auro-button>
</div>
<span slot="helpText">
Help text
Expand Down
3 changes: 0 additions & 3 deletions apiExamples/commonSlot.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<div style="padding: var(--ds-size-150);">
Lorem ipsum solar
<br />
<auro-button onclick="document.querySelector('#commonSlot').hide()">
Dismiss Dropdown
</auro-button>
</div>
<span slot="helpText">
Help text
Expand Down
5 changes: 1 addition & 4 deletions apiExamples/custom.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<custom-dropdown id="common" common aria-label="Label content for screen reader">
<custom-dropdown id="commonCustom" common aria-label="Label content for screen reader">
<div style="padding: var(--ds-size-150);">
Lorem ipsum solar
<br />
<auro-button onclick="document.querySelector('#common').hide()">
Dismiss Dropdown
</auro-button>
</div>
<span slot="helpText">
Help text
Expand Down
2 changes: 2 additions & 0 deletions demo/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,7 @@
<!-- If additional elements are needed for the demo, add them here. -->
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/dist/auro-accordion__bundled.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest/dist/auro-button__bundled.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@latest/dist/auro-icon__bundled.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-input@latest/dist/auro-input__bundled.js" type="module"></script>
</body>
</html>
Loading
Loading