Skip to content

Commit dccea25

Browse files
authored
Fixed several accessibility issues. Cleaned up unused resources. (#959)
1 parent 0ff5ec0 commit dccea25

File tree

7 files changed

+13
-45
lines changed

7 files changed

+13
-45
lines changed

package-lock.json

Lines changed: 5 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"clean-webpack-plugin": "2.0.2",
4242
"copy-webpack-plugin": "^6.0.3",
4343
"css-loader": "^4.2.2",
44-
"extract-text-webpack-plugin": "^4.0.0-beta.0",
4544
"file-loader": "^6.0.0",
4645
"html-loader": "^1.2.1",
4746
"mini-css-extract-plugin": "^0.10.0",

src/components/operations/operation-details/ko/runtime/operation-details.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ <h3>Response: <span data-bind="text: response.statusCode"></span></h3>
163163
<!-- ko if: $component.definitions().length > 0 -->
164164
<h3>Definitions</h3>
165165

166-
<div class="table-preset table-preset-definitions">
166+
<div role="table" class="table-preset table-preset-definitions">
167167
<div class="d-contents" role="rowgroup">
168168
<div class="d-contents" role="row">
169169
<div class="table-preset-head text-truncate" role="columnheader">Name</div>

src/components/operations/operation-details/ko/runtime/type-definition-enum.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="table-preset table-preset-enum">
1+
<div role="table" class="table-preset table-preset-enum">
22
<div class="d-contents" role="rowgroup">
33
<div class="d-contents" role="row">
44
<div class="table-preset-head text-truncate" role="columnheader">Type</div>

src/components/operations/operation-details/ko/runtime/type-definition-object.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- ko if: definition.properties && definition.properties.length > 0 -->
22

3-
<div class="table-preset table-preset-schema">
3+
<div role="table" class="table-preset table-preset-schema">
44
<div class="d-contents" role="rowgroup">
55
<div class="d-contents" role="row">
66
<div role="cell" class="table-preset-head text-truncate">Name</div>

src/components/reports/ko/runtime/reports.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h2>API response times</h2>
4444

4545
<h2>Products</h2>
4646
<div>
47-
<div class="table-preset table-preset-reports">
47+
<div role="table" class="table-preset table-preset-reports">
4848
<div class="d-contents" role="rowgroup">
4949
<div class="d-contents" role="row">
5050
<div class="table-preset-head" role="columnheader">
@@ -291,7 +291,7 @@ <h2>Subscriptions</h2>
291291

292292
<h2>APIs</h2>
293293
<div>
294-
<div class="table-preset table-preset-reports">
294+
<div role="table" class="table-preset table-preset-reports">
295295
<div class="d-contents" role="rowgroup">
296296
<div class="d-contents" role="row">
297297
<div class="table-preset-head" role="columnheader">
@@ -412,7 +412,7 @@ <h2>APIs</h2>
412412

413413
<h2>Operations</h2>
414414
<div>
415-
<div class="table-preset table-preset-reports">
415+
<div role="table" class="table-preset table-preset-reports">
416416
<div class="d-contents" role="rowgroup">
417417
<div class="d-contents" role="row">
418418
<div class="table-preset-head" role="columnheader">

src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { ArmResource } from "./contracts/armResource";
21
import { NameValuePair } from "request";
2+
import { ArmResource } from "./contracts/armResource";
33
import { JwtToken } from "./contracts/jwtToken";
44
import { js } from "js-beautify";
5-
import { off } from "process";
5+
66

77
export class Utils {
88
public static getResourceName(resource: string, fullId: string, resultType: string = "name"): string {

0 commit comments

Comments
 (0)