Fix minor accessibility issues

This commit is contained in:
Jason Park
2019-01-24 04:01:20 -05:00
parent 5fb1217960
commit 837fd3e39c
3 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 803 KiB

After

Width:  |  Height:  |  Size: 260 KiB

View File

@@ -83,8 +83,8 @@ class Navigator extends React.Component {
<nav className={classes(styles.navigator, className)}>
<div className={styles.search_bar_container}>
<FontAwesomeIcon fixedWidth icon={faSearch} className={styles.search_icon} />
<input type="text" className={styles.search_bar} autoFocus placeholder="Search ..." value={query}
onChange={e => this.handleChangeQuery(e)} />
<input type="text" className={styles.search_bar} aria-label="Search" placeholder="Search ..." autoFocus
value={query} onChange={e => this.handleChangeQuery(e)} />
</div>
<div className={styles.algorithm_list}>
{

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-78128848-1"></script>
<script>