Skip to content

Commit 837fd3e

Browse files
committed
Fix minor accessibility issues
1 parent 5fb1217 commit 837fd3e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

branding/screenshot.png

-543 KB
Loading

src/frontend/components/Navigator/index.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ class Navigator extends React.Component {
8383
<nav className={classes(styles.navigator, className)}>
8484
<div className={styles.search_bar_container}>
8585
<FontAwesomeIcon fixedWidth icon={faSearch} className={styles.search_icon} />
86-
<input type="text" className={styles.search_bar} autoFocus placeholder="Search ..." value={query}
87-
onChange={e => this.handleChangeQuery(e)} />
86+
<input type="text" className={styles.search_bar} aria-label="Search" placeholder="Search ..." autoFocus
87+
value={query} onChange={e => this.handleChangeQuery(e)} />
8888
</div>
8989
<div className={styles.algorithm_list}>
9090
{

src/frontend/template.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-78128848-1"></script>
55
<script>

0 commit comments

Comments
 (0)