mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
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:
parent
83a6b8b63c
commit
7657c4b82c
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user