{"action":"created","issue":{"url":"https://api.github.com/repos/zurb/foundation/issues/6501","labels_url":"https://api.github.com/repos/zurb/foundation/issues/6501/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation/issues/6501/comments","events_url":"https://api.github.com/repos/zurb/foundation/issues/6501/events","html_url":"https://github.com/zurb/foundation/issues/6501","id":70813308,"number":6501,"title":"Abide Pattern HTML5 issue","user":{"login":"designerno1","id":8417506,"avatar_url":"https://avatars.githubusercontent.com/u/8417506?v=3","gravatar_id":"","url":"https://api.github.com/users/designerno1","html_url":"https://github.com/designerno1","followers_url":"https://api.github.com/users/designerno1/followers","following_url":"https://api.github.com/users/designerno1/following{/other_user}","gists_url":"https://api.github.com/users/designerno1/gists{/gist_id}","starred_url":"https://api.github.com/users/designerno1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/designerno1/subscriptions","organizations_url":"https://api.github.com/users/designerno1/orgs","repos_url":"https://api.github.com/users/designerno1/repos","events_url":"https://api.github.com/users/designerno1/events{/privacy}","received_events_url":"https://api.github.com/users/designerno1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zurb/foundation/labels/abide","name":"abide","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-24T22:46:36Z","updated_at":"2015-05-01T22:24:46Z","closed_at":"2015-05-01T22:24:46Z","body":"As in docs http://foundation.zurb.com/docs/components/abide.html , this could be a problem:\r\n\r\nYou can use the following shortcut for named patterns that aren't valid input types:\r\n```html\r\n<input type=\"text\" pattern=\"integer\">\r\n```\r\nif i use\r\n```html\r\n<input type=\"text\" pattern=\"email\" required>\r\n```\r\nwithout abide validation the html5 validator returns invalid only the word \"email\" turns to valid\r\n\r\nwhat about users turned of javascript?\r\n\r\nmaybe this is a goog solution\r\n```javascript\r\nvar pattern = el.getAttribute('pattern') || el.getAttribute('data-pattern') || '';\r\n```\r\nin foundation.abide.js\r\n\r\nso we can use pattern for real patterns regex and data-pattern for abide patterns\r\n\r\nGreet J\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zurb/foundation/issues/comments/98254498","html_url":"https://github.com/zurb/foundation/issues/6501#issuecomment-98254498","issue_url":"https://api.github.com/repos/zurb/foundation/issues/6501","id":98254498,"user":{"login":"gakimball","id":1142001,"avatar_url":"https://avatars.githubusercontent.com/u/1142001?v=3","gravatar_id":"","url":"https://api.github.com/users/gakimball","html_url":"https://github.com/gakimball","followers_url":"https://api.github.com/users/gakimball/followers","following_url":"https://api.github.com/users/gakimball/following{/other_user}","gists_url":"https://api.github.com/users/gakimball/gists{/gist_id}","starred_url":"https://api.github.com/users/gakimball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gakimball/subscriptions","organizations_url":"https://api.github.com/users/gakimball/orgs","repos_url":"https://api.github.com/users/gakimball/repos","events_url":"https://api.github.com/users/gakimball/events{/privacy}","received_events_url":"https://api.github.com/users/gakimball/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T22:24:46Z","updated_at":"2015-05-01T22:24:46Z","body":"This is an interesting idea, but to maintain current backwards compatibility we're going to hold off until Foundation 6 for this. I added it to our [feedback thread](https://github.com/zurb/foundation/issues/4710) and [Trello board](https://trello.com/b/QBPKlQqf/foundation-sites)."}}