);
diff --git a/client/modules/IDE/components/UploadFileModal.jsx b/client/modules/IDE/components/UploadFileModal.jsx
index 4f3d3522..27fa7c6f 100644
--- a/client/modules/IDE/components/UploadFileModal.jsx
+++ b/client/modules/IDE/components/UploadFileModal.jsx
@@ -32,8 +32,12 @@ class UploadFileModal extends React.Component {
Upload File
-
{ this.props.reachedTotalSizeLimit &&
diff --git a/client/modules/User/components/APIKeyForm.jsx b/client/modules/User/components/APIKeyForm.jsx
index 9e7493f1..459efe31 100644
--- a/client/modules/User/components/APIKeyForm.jsx
+++ b/client/modules/User/components/APIKeyForm.jsx
@@ -85,7 +85,7 @@ class APIKeyForm extends React.Component {
disabled={this.state.keyLabel === ''}
type="submit"
>
-
+
Create
diff --git a/client/modules/User/components/APIKeyList.jsx b/client/modules/User/components/APIKeyList.jsx
index 0c10f426..9201aa4b 100644
--- a/client/modules/User/components/APIKeyList.jsx
+++ b/client/modules/User/components/APIKeyList.jsx
@@ -31,8 +31,12 @@ function APIKeyList({ apiKeys, onRemove }) {
{format(new Date(key.createdAt), 'MMM D, YYYY h:mm A')} |
{lastUsed} |
- onRemove(key)}>
-
+ onRemove(key)}
+ aria-label="Delete API Key"
+ >
+
|
diff --git a/client/styles/base/_base.scss b/client/styles/base/_base.scss
index 94b3d55a..58b1030b 100644
--- a/client/styles/base/_base.scss
+++ b/client/styles/base/_base.scss
@@ -96,3 +96,15 @@ textarea:focus {
outline: none;
box-shadow: 0 0 0 1px $outline-color;
}
+
+// screen reader only class
+// from https://www.scottohara.me/blog/2017/04/14/inclusively-hidden.html#hiding-content-visually
+.sr-only:not(:focus):not(:active) {
+ clip: rect(0 0 0 0);
+ clip-path: inset(50%);
+ height: 1px;
+ overflow: hidden;
+ position: absolute;
+ white-space: nowrap;
+ width: 1px;
+}