{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/3131","labels_url":"https://api.github.com/repos/angular/material/issues/3131/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/3131/comments","events_url":"https://api.github.com/repos/angular/material/issues/3131/events","html_url":"https://github.com/angular/material/issues/3131","id":85312973,"number":3131,"title":"mdIcon: change alt=\"\" to aria-label=\"\"","user":{"login":"marcysutton","id":1045233,"avatar_url":"https://avatars.githubusercontent.com/u/1045233?v=3","gravatar_id":"","url":"https://api.github.com/users/marcysutton","html_url":"https://github.com/marcysutton","followers_url":"https://api.github.com/users/marcysutton/followers","following_url":"https://api.github.com/users/marcysutton/following{/other_user}","gists_url":"https://api.github.com/users/marcysutton/gists{/gist_id}","starred_url":"https://api.github.com/users/marcysutton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcysutton/subscriptions","organizations_url":"https://api.github.com/users/marcysutton/orgs","repos_url":"https://api.github.com/users/marcysutton/repos","events_url":"https://api.github.com/users/marcysutton/events{/privacy}","received_events_url":"https://api.github.com/users/marcysutton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/material/labels/aria","name":"aria","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"ThomasBurleson","id":210413,"avatar_url":"https://avatars.githubusercontent.com/u/210413?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasBurleson","html_url":"https://github.com/ThomasBurleson","followers_url":"https://api.github.com/users/ThomasBurleson/followers","following_url":"https://api.github.com/users/ThomasBurleson/following{/other_user}","gists_url":"https://api.github.com/users/ThomasBurleson/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasBurleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasBurleson/subscriptions","organizations_url":"https://api.github.com/users/ThomasBurleson/orgs","repos_url":"https://api.github.com/users/ThomasBurleson/repos","events_url":"https://api.github.com/users/ThomasBurleson/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasBurleson/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/material/milestones/15","html_url":"https://github.com/angular/material/milestones/0.10.0","labels_url":"https://api.github.com/repos/angular/material/milestones/15/labels","id":958568,"number":15,"title":"0.10.0","description":"### Component Features\r\n\r\n- DateTimepicker\r\n- SpeedDial\r\n- Menu\r\n- Chips (cont.)\r\n- Slider range\r\n- textfields\r\n  *  `<md-text-search>`\r\n- bi-directional support (cont.)\r\n\r\n### Additional Efforts\r\n\r\nProvide 'Edit on CodePen'\r\nProvide Version Picker and Documentation locking to specific builds/releases\r\nBuild tool to supports selection of icons and svgs to bundle.\r\n\r\n\r\n","creator":{"login":"ThomasBurleson","id":210413,"avatar_url":"https://avatars.githubusercontent.com/u/210413?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasBurleson","html_url":"https://github.com/ThomasBurleson","followers_url":"https://api.github.com/users/ThomasBurleson/followers","following_url":"https://api.github.com/users/ThomasBurleson/following{/other_user}","gists_url":"https://api.github.com/users/ThomasBurleson/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasBurleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasBurleson/subscriptions","organizations_url":"https://api.github.com/users/ThomasBurleson/orgs","repos_url":"https://api.github.com/users/ThomasBurleson/repos","events_url":"https://api.github.com/users/ThomasBurleson/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasBurleson/received_events","type":"User","site_admin":false},"open_issues":275,"closed_issues":183,"state":"open","created_at":"2015-01-30T17:00:57Z","updated_at":"2015-06-05T14:56:50Z","due_on":"2015-06-02T05:00:00Z","closed_at":null},"comments":1,"created_at":"2015-06-04T22:49:50Z","updated_at":"2015-06-05T14:56:50Z","closed_at":"2015-06-05T14:56:50Z","body":"mdIcon was built to use `alt=\"\"` for text alternatives which seems intuitive since icons are a kind of image, except the `alt` attribute is only effective on the `<img>` element. To properly describe content in a custom tag like `<md-icon>` in the accessibility tree, we must use `aria-label`. This is also more consistent with other text alternatives in Angular Material components.\r\n\r\nThis depends on @ThomasBurleson's changes to mdIcon to still rely on `aria-label` even with font ligatures, since we can't guarantee 3rd-party font icons will contain readable text."},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/109319785","html_url":"https://github.com/angular/material/issues/3131#issuecomment-109319785","issue_url":"https://api.github.com/repos/angular/material/issues/3131","id":109319785,"user":{"login":"ThomasBurleson","id":210413,"avatar_url":"https://avatars.githubusercontent.com/u/210413?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasBurleson","html_url":"https://github.com/ThomasBurleson","followers_url":"https://api.github.com/users/ThomasBurleson/followers","following_url":"https://api.github.com/users/ThomasBurleson/following{/other_user}","gists_url":"https://api.github.com/users/ThomasBurleson/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasBurleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasBurleson/subscriptions","organizations_url":"https://api.github.com/users/ThomasBurleson/orgs","repos_url":"https://api.github.com/users/ThomasBurleson/repos","events_url":"https://api.github.com/users/ThomasBurleson/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasBurleson/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T14:56:50Z","updated_at":"2015-06-05T14:56:50Z","body":"`alt` attributes are converted to `aria-label` attributes (unless already present).\r\nIf neither are present, then the `element.text()` or `mdSvgIcon`  or `mdFontIcon` are used.\r\nSee SHA 525158a5a614e"}}