payload: {"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/20779","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/20779/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/20779/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/20779/events","html_url":"https://github.com/ant-design/ant-design/issues/20779","id":547069491,"node_id":"MDU6SXNzdWU1NDcwNjk0OTE=","number":20779,"title":"Missing role attribute on <div class=\"ant-menu-submenu-title\"> is causing W3C validation error","user":{"login":"aaronsarnat","id":8367927,"node_id":"MDQ6VXNlcjgzNjc5Mjc=","avatar_url":"https://avatars2.githubusercontent.com/u/8367927?v=4","gravatar_id":"","url":"https://api.github.com/users/aaronsarnat","html_url":"https://github.com/aaronsarnat","followers_url":"https://api.github.com/users/aaronsarnat/followers","following_url":"https://api.github.com/users/aaronsarnat/following{/other_user}","gists_url":"https://api.github.com/users/aaronsarnat/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronsarnat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronsarnat/subscriptions","organizations_url":"https://api.github.com/users/aaronsarnat/orgs","repos_url":"https://api.github.com/users/aaronsarnat/repos","events_url":"https://api.github.com/users/aaronsarnat/events{/privacy}","received_events_url":"https://api.github.com/users/aaronsarnat/received_events","type":"User","site_admin":false},"labels":[{"id":459763377,"node_id":"MDU6TGFiZWw0NTk3NjMzNzc=","url":"https://api.github.com/repos/ant-design/ant-design/labels/help%20wanted","name":"help wanted","color":"0e8a16","default":true,"description":"The suggestion or request has been accepted, we need you to help us by sending a pull request."}],"state":"open","locked":false,"assignee":{"login":"afc163","id":507615,"node_id":"MDQ6VXNlcjUwNzYxNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/507615?v=4","gravatar_id":"","url":"https://api.github.com/users/afc163","html_url":"https://github.com/afc163","followers_url":"https://api.github.com/users/afc163/followers","following_url":"https://api.github.com/users/afc163/following{/other_user}","gists_url":"https://api.github.com/users/afc163/gists{/gist_id}","starred_url":"https://api.github.com/users/afc163/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afc163/subscriptions","organizations_url":"https://api.github.com/users/afc163/orgs","repos_url":"https://api.github.com/users/afc163/repos","events_url":"https://api.github.com/users/afc163/events{/privacy}","received_events_url":"https://api.github.com/users/afc163/received_events","type":"User","site_admin":false},"assignees":[{"login":"afc163","id":507615,"node_id":"MDQ6VXNlcjUwNzYxNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/507615?v=4","gravatar_id":"","url":"https://api.github.com/users/afc163","html_url":"https://github.com/afc163","followers_url":"https://api.github.com/users/afc163/followers","following_url":"https://api.github.com/users/afc163/following{/other_user}","gists_url":"https://api.github.com/users/afc163/gists{/gist_id}","starred_url":"https://api.github.com/users/afc163/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afc163/subscriptions","organizations_url":"https://api.github.com/users/afc163/orgs","repos_url":"https://api.github.com/users/afc163/repos","events_url":"https://api.github.com/users/afc163/events{/privacy}","received_events_url":"https://api.github.com/users/afc163/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2020-01-08T19:54:02Z","updated_at":"2020-01-09T01:20:29Z","closed_at":null,"author_association":"NONE","body":"- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.\r\n\r\n### Reproduction link\r\n[https://validator.w3.org/nu/?doc=https%3A%2F%2Fant.design%2F#vnuId2](https://validator.w3.org/nu/?doc=https%3A%2F%2Fant.design%2F#vnuId2)\r\n\r\n### Steps to reproduce\r\n1. Build a project that uses `<Menu mode=\"horizontal\">` dropdown structure\r\n2. Validate it through https://validator.w3.org/\r\n3. See validation errors that look like this:\r\n    ```\r\n    Error: Element div is missing one or more of the following attributes: role.\r\n    <div class=\"ant-menu-submenu-title\" aria-expanded=\"false\" aria-haspopup=\"true\">\r\n    ```\r\n\r\n### What is expected?\r\nAnt output should be W3C valid markup\r\n\r\n### What is actually happening?\r\nSome Ant output is not W3C valid markup\r\n\r\n| Environment | Info |\r\n|---|---|\r\n| antd | 3.25.1 |\r\n| React | 16.9.0 |\r\n| System | Mac OS 10.14.6 |\r\n| Browser | Chrome 79.0.3945.117 |\r\n\r\n---\r\nI discovered this validation bug on a project I'm building for work. I checked the Ant Design website to see if the bug existed there too, and it did. That's why I linked above to the W3C validator pointing at https://ant.design/\r\n\r\n\r\n<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/572336300","html_url":"https://github.com/ant-design/ant-design/issues/20779#issuecomment-572336300","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/20779","id":572336300,"node_id":"MDEyOklzc3VlQ29tbWVudDU3MjMzNjMwMA==","user":{"login":"ant-design-bot","id":26566442,"node_id":"MDQ6VXNlcjI2NTY2NDQy","avatar_url":"https://avatars0.githubusercontent.com/u/26566442?v=4","gravatar_id":"","url":"https://api.github.com/users/ant-design-bot","html_url":"https://github.com/ant-design-bot","followers_url":"https://api.github.com/users/ant-design-bot/followers","following_url":"https://api.github.com/users/ant-design-bot/following{/other_user}","gists_url":"https://api.github.com/users/ant-design-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/ant-design-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ant-design-bot/subscriptions","organizations_url":"https://api.github.com/users/ant-design-bot/orgs","repos_url":"https://api.github.com/users/ant-design-bot/repos","events_url":"https://api.github.com/users/ant-design-bot/events{/privacy}","received_events_url":"https://api.github.com/users/ant-design-bot/received_events","type":"User","site_admin":false},"created_at":"2020-01-09T01:20:28Z","updated_at":"2020-01-09T01:20:28Z","author_association":"CONTRIBUTOR","body":"\nHello @aaronsarnat. We totally like your proposal/feedback, welcome to [send us Pull Request](https://help.github.com/en/articles/creating-a-pull-request) for it. Please send your Pull Request to proper branch (feature branch for new feature, master for bugfix and other changes), fill the [Pull Request Template] here, provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. Appreciate it advance and we are looking forword to your contribution!\n\n你好 @aaronsarnat, 我们完全同意你的提议/反馈，欢迎直接在此仓库 [创建一个 Pull Request](https://help.github.com/en/articles/creating-a-pull-request) 来解决这个问题。请将 Pull Request 发到正确的分支（新特性发到 feature 分支，其他发到 master 分支），务必填写 Pull Request 内的[预设模板](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE.md)，提供改动所需相应的 changelog、TypeScript 定义、测试用例、文档等，并确保 CI 通过，我们会尽快进行 Review，提前感谢和期待您的贡献！\n\n![giphy](https://user-images.githubusercontent.com/507615/62342668-4735dc00-b51a-11e9-92a7-d46fbb1cc0c7.gif)\n"}}
other: {"actor":{"display_login":"ant-design-bot"}}