Added back aria-label to search input (#1517)

* update development guides on how to launch the local servers

* brings back aria-label to search form as form elements must have labels
This commit is contained in:
Jaime Iniesta 2020-03-19 11:42:06 +01:00 committed by GitHub
parent 83a6b8b63c
commit 7657c4b82c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View File

@ -201,15 +201,19 @@ npm install
### Development mode
The development server can be started with:
Start the Webpack watchdog with:
``` sh
npm start
```
This will also start the MkDocs development server which will monitor changes
on assets, templates and documentation. Point your browser to
[localhost:8000][190] and you should see this documentation in front of you.
Then, in a second session, start the MkDocs server with:
```sh
mkdocs serve
```
Point your browser to [localhost:8000][9] and you should see this documentation in front of you.
!!! warning "Automatically generated files"

View File

@ -31,6 +31,7 @@
type="text"
class="md-search__input"
name="query"
aria-label="{{ lang.t('search.placeholder') }}"
placeholder="{{ lang.t('search.placeholder') }}"
autocapitalize="off"
autocorrect="off"