{"action":"created","issue":{"url":"https://api.github.com/repos/squidfunk/mkdocs-material/issues/309","repository_url":"https://api.github.com/repos/squidfunk/mkdocs-material","labels_url":"https://api.github.com/repos/squidfunk/mkdocs-material/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/squidfunk/mkdocs-material/issues/309/comments","events_url":"https://api.github.com/repos/squidfunk/mkdocs-material/issues/309/events","html_url":"https://github.com/squidfunk/mkdocs-material/issues/309","id":226558815,"number":309,"title":"Search input to change to input=\"search\"","user":{"login":"coliff","id":1212885,"avatar_url":"https://avatars1.githubusercontent.com/u/1212885?v=3","gravatar_id":"","url":"https://api.github.com/users/coliff","html_url":"https://github.com/coliff","followers_url":"https://api.github.com/users/coliff/followers","following_url":"https://api.github.com/users/coliff/following{/other_user}","gists_url":"https://api.github.com/users/coliff/gists{/gist_id}","starred_url":"https://api.github.com/users/coliff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coliff/subscriptions","organizations_url":"https://api.github.com/users/coliff/orgs","repos_url":"https://api.github.com/users/coliff/repos","events_url":"https://api.github.com/users/coliff/events{/privacy}","received_events_url":"https://api.github.com/users/coliff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-05T12:32:22Z","updated_at":"2017-05-07T11:15:32Z","closed_at":null,"body":"## Description\r\n\r\nThe Search input is currently type=\"text\". Changing it to type=\"search\" would be more semantically correct and may help with accessibility. The change should be simple. Chrome adds an additional 'close' button on search inputs though, to set this to be hidden we can add the following CSS\r\n\r\n`input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}`\r\n\r\nI've tested this locally and in production and have encountered no issues (Chrome, Safari, Firefox, Edge and IE11)\r\n"},"comment":{"url":"https://api.github.com/repos/squidfunk/mkdocs-material/issues/comments/299698918","html_url":"https://github.com/squidfunk/mkdocs-material/issues/309#issuecomment-299698918","issue_url":"https://api.github.com/repos/squidfunk/mkdocs-material/issues/309","id":299698918,"user":{"login":"squidfunk","id":932156,"avatar_url":"https://avatars1.githubusercontent.com/u/932156?v=3","gravatar_id":"","url":"https://api.github.com/users/squidfunk","html_url":"https://github.com/squidfunk","followers_url":"https://api.github.com/users/squidfunk/followers","following_url":"https://api.github.com/users/squidfunk/following{/other_user}","gists_url":"https://api.github.com/users/squidfunk/gists{/gist_id}","starred_url":"https://api.github.com/users/squidfunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squidfunk/subscriptions","organizations_url":"https://api.github.com/users/squidfunk/orgs","repos_url":"https://api.github.com/users/squidfunk/repos","events_url":"https://api.github.com/users/squidfunk/events{/privacy}","received_events_url":"https://api.github.com/users/squidfunk/received_events","type":"User","site_admin":false},"created_at":"2017-05-07T11:15:32Z","updated_at":"2017-05-07T11:15:32Z","body":"I would like to evaluate this in a complete a11y context, improving it for the whole theme and taking ARIA roles etc. into account. However, this may not work in Edge or Opera, because they may user other vendor prefixes or do the rendering otherwise. It's to risky to change at the moment, because there are no tests that capture the look and behavior of this element."}}
{"actor":{"display_login":"squidfunk"}}