diff --git a/src/components/GlobalFooter/index.js b/src/components/GlobalFooter/index.js index f557213191cdd2fe7fa6dc6d9dbca8a7311ae837..01e526e832f321984ec0240d7a9232f1ee7a6e0e 100644 --- a/src/components/GlobalFooter/index.js +++ b/src/components/GlobalFooter/index.js @@ -9,7 +9,12 @@ const GlobalFooter = ({ className, links, copyright }) => { {links && (
{links.map(link => ( - + {link.title} ))} diff --git a/src/components/GlobalHeader/RightContent.js b/src/components/GlobalHeader/RightContent.js index 35d41309558b683e6f5bfb504e9942099e05ab00..15511f9a93c12b602624d2803a657348897b38ee 100644 --- a/src/components/GlobalHeader/RightContent.js +++ b/src/components/GlobalHeader/RightContent.js @@ -125,7 +125,12 @@ export default class GlobalHeaderRight extends PureComponent { {currentUser.name ? ( - + {currentUser.name} diff --git a/src/components/HeaderSearch/index.js b/src/components/HeaderSearch/index.js index 5912dc503b25bceae5c00b9ae55e2840e47a6e05..a7fb0e7756eab2a74eb9368337105bfb34afa3a5 100644 --- a/src/components/HeaderSearch/index.js +++ b/src/components/HeaderSearch/index.js @@ -78,6 +78,7 @@ export default class HeaderSearch extends PureComponent { ref={node => { this.input = node; }} + aria-label={placeholder} placeholder={placeholder} onKeyDown={this.onKeyDown} onBlur={this.leaveSearchMode} diff --git a/src/layouts/Footer.js b/src/layouts/Footer.js index 902d4ab881fa1526d59375357475774cac5e991c..69c2c2a8d9b919dced3457a26e37d1be776dc1bf 100644 --- a/src/layouts/Footer.js +++ b/src/layouts/Footer.js @@ -1,4 +1,3 @@ - import React, { Fragment } from 'react'; import { Layout, Icon } from 'antd'; import GlobalFooter from '../components/GlobalFooter';