{"action":"created","issue":{"url":"https://api.github.com/repos/orbeon/orbeon-forms/issues/2217","labels_url":"https://api.github.com/repos/orbeon/orbeon-forms/issues/2217/labels{/name}","comments_url":"https://api.github.com/repos/orbeon/orbeon-forms/issues/2217/comments","events_url":"https://api.github.com/repos/orbeon/orbeon-forms/issues/2217/events","html_url":"https://github.com/orbeon/orbeon-forms/issues/2217","id":74166852,"number":2217,"title":"Hidden input for client state must have title per WCAG2","user":{"login":"avernet","id":106961,"avatar_url":"https://avatars.githubusercontent.com/u/106961?v=3","gravatar_id":"","url":"https://api.github.com/users/avernet","html_url":"https://github.com/avernet","followers_url":"https://api.github.com/users/avernet/followers","following_url":"https://api.github.com/users/avernet/following{/other_user}","gists_url":"https://api.github.com/users/avernet/gists{/gist_id}","starred_url":"https://api.github.com/users/avernet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avernet/subscriptions","organizations_url":"https://api.github.com/users/avernet/orgs","repos_url":"https://api.github.com/users/avernet/repos","events_url":"https://api.github.com/users/avernet/events{/privacy}","received_events_url":"https://api.github.com/users/avernet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orbeon/orbeon-forms/labels/Accessibility","name":"Accessibility","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"avernet","id":106961,"avatar_url":"https://avatars.githubusercontent.com/u/106961?v=3","gravatar_id":"","url":"https://api.github.com/users/avernet","html_url":"https://github.com/avernet","followers_url":"https://api.github.com/users/avernet/followers","following_url":"https://api.github.com/users/avernet/following{/other_user}","gists_url":"https://api.github.com/users/avernet/gists{/gist_id}","starred_url":"https://api.github.com/users/avernet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avernet/subscriptions","organizations_url":"https://api.github.com/users/avernet/orgs","repos_url":"https://api.github.com/users/avernet/repos","events_url":"https://api.github.com/users/avernet/events{/privacy}","received_events_url":"https://api.github.com/users/avernet/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-07T23:50:46Z","updated_at":"2015-07-14T19:03:19Z","closed_at":null,"body":"We always generate a:\r\n\r\n```xml\r\n<input type=\"text\" name=\"$client-state\" value=\"\" class=\"xforms-initially-hidden\">\r\n```\r\n\r\nEven if this input is never shown, this is in violation of WCAG2 1.1.1/1.3.1/3.3.2 (A), reported as E866 by TotalValidator.\r\n\r\nPossible solutions:\r\n\r\n- We don't like using an `input` for this, and would prefer to rely on the browser history API. Can we do so now given that we want to support IE8?\r\n- Would it work if the input was `type=\"hidden\"`?\r\n- Otherwise, we could generate a hidden label, but looks pretty \"dirty\"."},"comment":{"url":"https://api.github.com/repos/orbeon/orbeon-forms/issues/comments/121343530","html_url":"https://github.com/orbeon/orbeon-forms/issues/2217#issuecomment-121343530","issue_url":"https://api.github.com/repos/orbeon/orbeon-forms/issues/2217","id":121343530,"user":{"login":"ebruchez","id":105769,"avatar_url":"https://avatars.githubusercontent.com/u/105769?v=3","gravatar_id":"","url":"https://api.github.com/users/ebruchez","html_url":"https://github.com/ebruchez","followers_url":"https://api.github.com/users/ebruchez/followers","following_url":"https://api.github.com/users/ebruchez/following{/other_user}","gists_url":"https://api.github.com/users/ebruchez/gists{/gist_id}","starred_url":"https://api.github.com/users/ebruchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebruchez/subscriptions","organizations_url":"https://api.github.com/users/ebruchez/orgs","repos_url":"https://api.github.com/users/ebruchez/repos","events_url":"https://api.github.com/users/ebruchez/events{/privacy}","received_events_url":"https://api.github.com/users/ebruchez/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T19:03:19Z","updated_at":"2015-07-14T19:03:19Z","body":"And this cannot be an `<output>` since the value must be restored by the browser."}}