diff --git a/src/core/components/content-type.jsx b/src/core/components/content-type.jsx
index 19d221881b5..6129d46dcb2 100644
--- a/src/core/components/content-type.jsx
+++ b/src/core/components/content-type.jsx
@@ -11,7 +11,8 @@ export default class ContentType extends React.Component {
contentTypes: PropTypes.oneOfType([ImPropTypes.list, ImPropTypes.set, ImPropTypes.seq]),
value: PropTypes.string,
onChange: PropTypes.func,
- className: PropTypes.string
+ className: PropTypes.string,
+ ariaLabel: PropTypes.string
}
static defaultProps = {
@@ -40,14 +41,14 @@ export default class ContentType extends React.Component {
onChangeWrapper = e => this.props.onChange(e.target.value)
render() {
- let { contentTypes, className, value } = this.props
+ let { contentTypes, className, value, ariaLabel } = this.props
if ( !contentTypes || !contentTypes.size )
return null
return (
-
diff --git a/src/core/components/parameters/parameters.jsx b/src/core/components/parameters/parameters.jsx
index a33cc5087fa..eb6dd47aaae 100644
--- a/src/core/components/parameters/parameters.jsx
+++ b/src/core/components/parameters/parameters.jsx
@@ -220,7 +220,8 @@ export default class Parameters extends Component {
onChange={(value) => {
this.onChangeMediaType({ value, pathMethod })
}}
- className="body-param-content-type" />
+ className="body-param-content-type"
+ ariaLabel="Request content type" />
diff --git a/src/core/components/response.jsx b/src/core/components/response.jsx
index f86e4d73c1e..356e3d0e96f 100644
--- a/src/core/components/response.jsx
+++ b/src/core/components/response.jsx
@@ -197,6 +197,7 @@ export default class Response extends React.Component {
: Seq()
}
onChange={this._onContentTypeChange}
+ ariaLabel="Media Type"
/>
{controlsAcceptHeader ? (
diff --git a/src/core/components/responses.jsx b/src/core/components/responses.jsx
index 29de3a793dd..df479da0259 100644
--- a/src/core/components/responses.jsx
+++ b/src/core/components/responses.jsx
@@ -95,7 +95,8 @@ export default class Responses extends React.Component {
+ className="execute-content-type"
+ ariaLabel="Response content type" />
}