{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material2/issues/4401","repository_url":"https://api.github.com/repos/angular/material2","labels_url":"https://api.github.com/repos/angular/material2/issues/4401/labels{/name}","comments_url":"https://api.github.com/repos/angular/material2/issues/4401/comments","events_url":"https://api.github.com/repos/angular/material2/issues/4401/events","html_url":"https://github.com/angular/material2/pull/4401","id":226641819,"number":4401,"title":"feat(autocomplete): allow the ability to select an option on pressing…","user":{"login":"SimplerSoftware","id":11198735,"avatar_url":"https://avatars0.githubusercontent.com/u/11198735?v=3","gravatar_id":"","url":"https://api.github.com/users/SimplerSoftware","html_url":"https://github.com/SimplerSoftware","followers_url":"https://api.github.com/users/SimplerSoftware/followers","following_url":"https://api.github.com/users/SimplerSoftware/following{/other_user}","gists_url":"https://api.github.com/users/SimplerSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/SimplerSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimplerSoftware/subscriptions","organizations_url":"https://api.github.com/users/SimplerSoftware/orgs","repos_url":"https://api.github.com/users/SimplerSoftware/repos","events_url":"https://api.github.com/users/SimplerSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/SimplerSoftware/received_events","type":"User","site_admin":false},"labels":[{"id":308798701,"url":"https://api.github.com/repos/angular/material2/labels/cla:%20yes","name":"cla: yes","color":"009800","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-05-05T17:36:28Z","updated_at":"2017-05-11T11:22:47Z","closed_at":"2017-05-10T22:20:51Z","pull_request":{"url":"https://api.github.com/repos/angular/material2/pulls/4401","html_url":"https://github.com/angular/material2/pull/4401","diff_url":"https://github.com/angular/material2/pull/4401.diff","patch_url":"https://github.com/angular/material2/pull/4401.patch"},"body":"… the 'TAB' key\r\n\r\nCurrently you can only select an option by pressing the 'ENTER' key when using the keyboard.  Many users expect to be able to use the 'TAB' key to select an option as well."},"comment":{"url":"https://api.github.com/repos/angular/material2/issues/comments/300760550","html_url":"https://github.com/angular/material2/pull/4401#issuecomment-300760550","issue_url":"https://api.github.com/repos/angular/material2/issues/4401","id":300760550,"user":{"login":"SimplerSoftware","id":11198735,"avatar_url":"https://avatars0.githubusercontent.com/u/11198735?v=3","gravatar_id":"","url":"https://api.github.com/users/SimplerSoftware","html_url":"https://github.com/SimplerSoftware","followers_url":"https://api.github.com/users/SimplerSoftware/followers","following_url":"https://api.github.com/users/SimplerSoftware/following{/other_user}","gists_url":"https://api.github.com/users/SimplerSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/SimplerSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimplerSoftware/subscriptions","organizations_url":"https://api.github.com/users/SimplerSoftware/orgs","repos_url":"https://api.github.com/users/SimplerSoftware/repos","events_url":"https://api.github.com/users/SimplerSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/SimplerSoftware/received_events","type":"User","site_admin":false},"created_at":"2017-05-11T11:22:47Z","updated_at":"2017-05-11T11:22:47Z","body":"@jelbourn:  I'll be honest, I haven't really dealt with screen readers and accessibility up to this point.  That being said, I've been doing some homework and I'm not seeing how this feature wouldn't play well.  In fact, to me it seems like it would follow the principle of \"selection follow focus\" (see [here](https://www.w3.org/TR/wai-aria-practices/#kbd_selection_follows_focus)) which in this case would be a benefit to the user.  From my perspective, when the autocomplete is being used to select a single item at a time, using the arrow keys to navigate the options and move focus between the different options *should*, if it's not already doing so, follow the \"selection follow focus\" principle and by pressing the <kbd>TAB</kbd> key you are only indicating that you are ready to move onto the next element after having already selected your option using the arrow keys.\r\n\r\nAs an example, you can look at Google's search bar.  As you're typing in the search box, several suggestions appear.  As you use the arrow keys to move up or down, the currently focused phrase is the 'selected' phrase and the search results update accordingly without ever having pressed the <kbd>ENTER</kbd> or <kbd>SPACE</kbd> keys.\r\n\r\nThoughts?"}}
{"actor":{"display_login":"SimplerSoftware"}}