diff --git a/README.md b/README.md index f78eecd5..5957c29a 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ In your prototype folder, run: npm install accessible-autocomplete ``` -Then on the page you want to add the accessible autocomplete: +To add the accessible autocomplete to a page in your prototype, first add a `select` component with your options. For example: ```html
@@ -99,7 +99,7 @@ Then on the page you want to add the accessible autocomplete:
``` -At the end of the file add a `pageScripts` block for the JavaScript: +At the end of the same page add a `pageScripts` block for the JavaScript. This turns the `select` into an autocomplete. ```js <% block pageScripts %>