{"action":"closed","issue":{"url":"https://api.github.com/repos/bbc/bbc-a11y/issues/243","repository_url":"https://api.github.com/repos/bbc/bbc-a11y","labels_url":"https://api.github.com/repos/bbc/bbc-a11y/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/bbc/bbc-a11y/issues/243/comments","events_url":"https://api.github.com/repos/bbc/bbc-a11y/issues/243/events","html_url":"https://github.com/bbc/bbc-a11y/issues/243","id":304364497,"number":243,"title":"Docker ignoring the parameters","user":{"login":"andymsuk","id":8750417,"avatar_url":"https://avatars2.githubusercontent.com/u/8750417?v=4","gravatar_id":"","url":"https://api.github.com/users/andymsuk","html_url":"https://github.com/andymsuk","followers_url":"https://api.github.com/users/andymsuk/followers","following_url":"https://api.github.com/users/andymsuk/following{/other_user}","gists_url":"https://api.github.com/users/andymsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/andymsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymsuk/subscriptions","organizations_url":"https://api.github.com/users/andymsuk/orgs","repos_url":"https://api.github.com/users/andymsuk/repos","events_url":"https://api.github.com/users/andymsuk/events{/privacy}","received_events_url":"https://api.github.com/users/andymsuk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-12T13:09:23Z","updated_at":"2018-03-22T11:24:53Z","closed_at":"2018-03-22T11:24:53Z","author_association":"NONE","body":"## Summary\r\n\r\nDocker is ignoring the parameters passed to it after the image name, meaning it doesn't run bbc-a11y against the URL or config file specified\r\n\r\n## Expected Behaviour\r\n\r\nThe two commands listed in the [Docker README file](https://github.com/bbc/bbc-a11y/blob/master/docker/README.md) should work as described, just like when using the [unofficial Docker image](https://hub.docker.com/r/wildlyinaccurate/bbc-a11y-docker/).\r\n\r\n## Current Behaviour\r\n\r\nThe parameters passed to Docker after the image name are being ignored, resulting in the following output (note the lack of page URL and incorrect output):\r\n```\r\n> docker run --rm --tty bbca11y/bbc-a11y-docker https://www.bbc.co.uk/iplayer\r\nXlib:  extension \"RANDR\" missing on display \":99\".\r\nXlib:  extension \"RANDR\" missing on display \":99\".\r\nlibudev: udev_has_devtmpfs: name_to_handle_at on /dev: Operation not permitted\r\nlibGL error: No matching fbConfigs or visuals found\r\nlibGL error: failed to load driver: swrast\r\n✗ %@\r\n  * Principles: All documents must have a W3C recommended doctype\r\n    - Missing w3c recommended doctype\r\n  * Editorial: Indicating language: Html must have lang attribute\r\n    - html tag has no lang attribute: /html\r\n  * Structure: Headings: Exactly one main heading\r\n    - Found 0 h1 elements.\r\n  * Structure: Containers and landmarks: Exactly one main landmark\r\n    - Found 0 elements with role=\"main\".\r\n\r\nFor details on how to fix these errors, please see the following pages:\r\n  - http://www.bbc.co.uk/guidelines/futuremedia/accessibility/mobile/principles\r\n  - http://www.bbc.co.uk/guidelines/futuremedia/accessibility/mobile/editorial/indicating-language\r\n  - http://www.bbc.co.uk/guidelines/futuremedia/accessibility/mobile/structure/headings\r\n  - http://www.bbc.co.uk/guidelines/futuremedia/accessibility/mobile/structure/containers-and-landmarks\r\n1 page checked, 4 errors found, 0 warnings, 0 standards skipped\r\n```\r\n\r\nThe correct thing happens when using the [unofficial Docker image](https://hub.docker.com/r/wildlyinaccurate/bbc-a11y-docker/):\r\n```\r\n> docker run --rm --tty wildlyinaccurate/bbc-a11y-docker https://www.bbc.co.uk/iplayer\r\nXlib:  extension \"RANDR\" missing on display \":99\".\r\nXlib:  extension \"RANDR\" missing on display \":99\".\r\nlibudev: udev_has_devtmpfs: name_to_handle_at on /dev: Operation not permitted\r\n✗ https://www.bbc.co.uk/iplayer\r\n  * Form interactions: Forms must have submit buttons\r\n    - Form has no submit button: //form[@id='orb-search-form']\r\n  ⚠ Headings: Headings must be in ascending order\r\n    - First heading was not a main heading: //div[@id='bbccookies-prompt']/h2\r\n  * Tables: Use tables for data\r\n    - Table used for layout: //div[@id='tviplayer']/div[1]/ul\r\n\r\nFor details on how to fix these errors, please see the following pages:\r\n  - http://www.bbc.co.uk/guidelines/futuremedia/accessibility/html/form-interaction.shtml\r\n  - http://www.bbc.co.uk/guidelines/futuremedia/accessibility/html/headings.shtml\r\n  - http://www.bbc.co.uk/guidelines/futuremedia/accessibility/html/tables.shtml\r\n1 page checked, 2 errors found, 1 warning, 0 standards skipped\r\n```\r\n\r\n## Context & Motivation\r\nUnable to change from using the [unofficial Docker image](https://hub.docker.com/r/wildlyinaccurate/bbc-a11y-docker/) to the official one\r\n\r\n## Your Environment\r\n\r\n<!--- If you're reporting a bug, include as many relevant details about the environment you experienced the bug in -->\r\n* Version used: Latest published version on Docker Hub\r\n* Operating System and version: macOS 10.12.6. Docker for Mac v17.12.0-ce-mac55 (23011)\r\n"}}
{"actor":{"display_login":"joshski"}}