Minor accessibility improvements

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2021-08-28 14:09:29 +02:00
parent 3dacb5448a
commit 6c034e3a41
5 changed files with 10 additions and 2 deletions

View File

@ -66,7 +66,7 @@ export default class Button extends React.PureComponent {
if (this.props.to) {
return (
<Link to={this.props.to}>
<Link to={this.props.to} tabIndex={-1}>
{btn}
</Link>
);

View File

@ -1,5 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import 'wicg-inert';
import { injectIntl, FormattedMessage, defineMessages } from 'react-intl';
import { connect } from 'react-redux';
import { openModal } from '../actions/modal';

View File

@ -221,6 +221,7 @@
}
&:hover,
&:focus,
&.active {
border-bottom: 2px solid var(--primary-text-color);
}