Skip to content

Commit

Permalink
Added missing aria-labels (#2076)
Browse files Browse the repository at this point in the history
  • Loading branch information
JMach1 authored Jan 24, 2023
1 parent 12be6aa commit 3e18b2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/custom-widget-list/createWidget.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</p>

<details>
<summary>
<summary aria-label="Get started with the development">
<h2>
<svg width="16" height="9" viewBox="0 0 16 9" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8 8.94531L0.195312 1.14062L1.14062 0.195312L8 7.05469L14.8594 0.195312L15.8047 1.14062L8 8.94531Z" fill="#605E5C"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- ko if: $component.authorizationServer() || $component.subscriptionKeyRequired() -->
<details open class="details-styled">
<summary>
<summary aria-label="Authorization">
<h3 class="pt-0">
Authorization
<i class="icon-emb icon-emb-chevron-down"></i>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</authorization>

<details open class="details-styled">
<summary>
<summary aria-label="Parameters">
<h3 class="pt-0">
Parameters
<i class="icon-emb icon-emb-chevron-down"></i>
Expand Down Expand Up @@ -99,7 +99,7 @@ <h3 class="pt-0">
</details>

<details open class="details-styled">
<summary>
<summary aria-label="Headers">
<h3 class="pt-0">
Headers
<i class="icon-emb icon-emb-chevron-down"></i>
Expand Down Expand Up @@ -166,7 +166,7 @@ <h4>Explorer</h4>
<div class="explorer-operations scrollable">
<!-- ko foreach: { data: graphDocService.availableTypes, as: 'type' } -->
<details open class="details-styled">
<summary>
<summary data-bind="attr: { 'aria-label': type }">
<span class="operation-type-gql" data-bind="text: type"></span>

<i class="icon-emb icon-emb-chevron-down"></i>
Expand Down

0 comments on commit 3e18b2d

Please sign in to comment.