You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason will be displayed to describe this comment to others. Learn more.
❌ Test Failed: va/tests/accessibility
composer va:test:accessibility
> [email protected] install /var/www/cms/node_modules/phantomjs-prebuilt
> node install.js
PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Receiving...
Received 22866K total.
Extracting tar contents (via spawned process)
Removing /var/www/cms/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1595868140189/phantomjs-2.1.1-linux-x86_64 -> /var/www/cms/node_modules/phantomjs-prebuilt/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /var/www/cms/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
> [email protected] postinstall /var/www/cms/node_modules/core-js
> node scripts/postinstall || echo "ignore"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
added 134 packages from 190 contributors and audited 134 packages in 12.429s
found 3 low severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
> [email protected] test /var/www/cms
> node ./tests/accessibility/aXeAccessibilityCheck.js
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com 1
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/sections = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/page = 2
[ { id: 'duplicate-id',
impact: 'minor',
tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
description: 'Ensures every id attribute value is unique',
help: 'id attribute value must be unique',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/duplicate-id?application=webdriverjs',
nodes: [ [Object], [Object] ] },
{ id: 'label',
impact: 'critical',
tags:
[ 'cat.forms',
'wcag2a',
'wcag332',
'wcag131',
'section508',
'section508.22.n' ],
description: 'Ensures every form element has a label',
help: 'Form elements must have labels',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/label?application=webdriverjs',
nodes: [ [Object] ] } ]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/landing_page = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/documentation_page = 1
[ { id: 'label',
impact: 'critical',
tags:
[ 'cat.forms',
'wcag2a',
'wcag332',
'wcag131',
'section508',
'section508.22.n' ],
description: 'Ensures every form element has a label',
help: 'Form elements must have labels',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/label?application=webdriverjs',
nodes: [ [Object] ] } ]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/event = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/health_care_local_facility = 1
[ { id: 'label',
impact: 'critical',
tags:
[ 'cat.forms',
'wcag2a',
'wcag332',
'wcag131',
'section508',
'section508.22.n' ],
description: 'Ensures every form element has a label',
help: 'Form elements must have labels',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/label?application=webdriverjs',
nodes:
[ [Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object] ] } ]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/health_care_region_detail_page = 2
[ { id: 'duplicate-id',
impact: 'minor',
tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
description: 'Ensures every id attribute value is unique',
help: 'id attribute value must be unique',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/duplicate-id?application=webdriverjs',
nodes: [ [Object], [Object] ] },
{ id: 'label',
impact: 'critical',
tags:
[ 'cat.forms',
'wcag2a',
'wcag332',
'wcag131',
'section508',
'section508.22.n' ],
description: 'Ensures every form element has a label',
help: 'Form elements must have labels',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/label?application=webdriverjs',
nodes: [ [Object] ] } ]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/health_care_region_page = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/office = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/outreach_asset = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/person_profile = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/press_release = 1
[ { id: 'aria-allowed-attr',
impact: 'critical',
tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
description: 'Ensures ARIA attributes are allowed for an element\'s role',
help: 'Elements must only use allowed ARIA attributes',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/aria-allowed-attr?application=webdriverjs',
nodes: [ [Object] ] } ]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/regional_health_care_service_des = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/news_story = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/support_service = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/user = 1
[ { id: 'color-contrast',
impact: 'serious',
tags: [ 'cat.color', 'wcag2aa', 'wcag143' ],
description:
'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds',
help: 'Elements must have sufficient color contrast',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/color-contrast?application=webdriverjs',
nodes:
[ [Object], [Object], [Object], [Object], [Object], [Object] ] } ]
!!! VIOLATION TYPES FOUND: 9 PROCESS EXITED WITH CODE 1 !!!
> npm install --only=production
> npm test
Mon, 27 Jul 2020 16:42:25 GMT axe-webdriverjs deprecated Error must be handled as the first argument of axe.analyze. See: #83 at tests/accessibility/aXeAccessibilityCheck.js:45:14
Mon, 27 Jul 2020 16:42:34 GMT axe-webdriverjs deprecated Error must be handled as the first argument of axe.analyze. See: #83 at tests/accessibility/aXeAccessibilityCheck.js:57:42
npm ERR! Test failed. See above for more details.
Script npm test handling the va:test:accessibility event returned with error code 1
The reason will be displayed to describe this comment to others. Learn more.
❌ Test Failed: va/tests/behat
cd tests/behat
behat --colors
@api
Feature: Access control
In order to protect my site and its content
As a site owner
I want to control access with user roles and permissions.
@dst @access
Scenario: User roles # drupal-spec-tool/access_control.feature:8
Then exactly the following roles should exist # Acquia\DrupalSpecTool\Context\AccessControlContext::assertRolesExist()
| Name | Machine name |
| Administrator | administrator |
| Anonymous user | anonymous |
| Authenticated user | authenticated |
| Content API Consumer | content_api_consumer |
| Content editor | content_editor |
| Content publisher | content_publisher |
| Content reviewer | content_reviewer |
| User admin | admnistrator_users |
| Redirect admin | redirect_administrator |
| Content admin | content_admin |
| Content creator - Benefits hubs | content_creator_benefits_hubs |
| Content creator - VAMC | vamc_content_creator |
@api
Feature: Content model bundles
In order to enter structured content into my site
As a content editor
I want to have content entity bundles that reflect my content model.
@dst @content_type @dstbundles
Scenario: Bundles # drupal-spec-tool/content_model_bundles.feature:8
Then exactly the following content entity type bundles should exist # CustomDrupal\ContentModelContextCustom::assertBundles()
| Name | Machine name | Type | Description |
| Accordion group | collapsible_panel | Paragraph type | A group of accordions. |
| Accordion Item | collapsible_panel_item | Paragraph type | An individual accordion. |
| Additional information | spanish_translation_summary | Paragraph type | Text that expands to display additional information upon click. |
| Address | address | Paragraph type | An address block. |
| Alert | alert | Custom block type | An alert box that can be added to individual pages. |
| Alert | alert | Paragraph type | A reusable or non-reusable alert, either "information status" or "warning status". |
| Benefits detail page | page | Content type | These pages hold all of the benefits overview content, such the detail pages linked to from va.gov/disability, va.gov/health-care, and va.gov/education. |
| Benefits hub landing page | landing_page | Content type | A special page for top-level Benefits content with its own one-off layout and content. |
| CMS help page | documentation_page | Content type | Help pages for VA.gov CMS editors. |
| Detail Page | health_care_region_detail_page | Content type | For static pages where there's not another content type already available. |
| Document | document | Media type | A locally hosted document, such as a PDF. |
| Embedded image | media | Paragraph type | For adding an image inline |
| Event | event | Content type | For online or in-person events like support groups, outreach events, public lectures, and more. |
| Event listing page | event_listing | Content type | A listing of events. |
| Expandable Text | expandable_text | Paragraph type | Text that expands upon click. |
| Health services listing page | health_services_listing | Content type | A listing of health services. |
| Image | image | Media type | Locally hosted images. |
| Leadership listing page | leadership_listing | Content type | A listing of staff members. |
| Link teaser | link_teaser | Paragraph type | A link followed by a description. For building inline "menus" of content. |
| Link to file or video | downloadable_file | Paragraph type | For image or document downloads. |
| List of link teasers | list_of_link_teasers | Paragraph type | A paragraph that contains only one type of paragraph: Link teaser. |
| Locations listing page | locations_listing | Content type | A listing of locations. |
| NCA facility | nca_facility | Content type | A facility within National Cemetery Administration system. |
| News release | press_release | Content type | Announcements directed at members of the media for the purpose of publicizing newsworthy events/happenings/programs at specific facilities or healthcare systems. |
| News release listing page | press_releases_listing | Content type | A listing of news releases. |
| Number callout | number_callout | Paragraph type | Number callouts can be used in the context of a question & answer, where the answer can be summarized in a short phrase that is number-oriented. |
| Office | office | Content type | An office at the VA, which may have contact info, events, news, and a leadership page in some cases. |
| Phone number | phone_number | Paragraph type | |
| Process list | process | Paragraph type | An ordered list (1, 2, 3, 4, N) of steps in a process. |
| Promo | promo | Custom block type | Promote a link with an image, title, and description. |
| Publication | outreach_asset | Content type | Contains a document, image, or video, for publication within a Publication library. |
| Publication listing page | publication_listing | Content type | This allows the listing of publication materials such as documents, videos, and images all in one place. |
| Q&A | q_a | Content type | Single Question and Answer. |
| Q&A | q_a | Paragraph type | Question and Answer |
| Q&A Section | q_a_section | Paragraph type | For content formatted as a series of questions and answers. Use this (instead of WYSIWYG) for better accessibility and easy rearranging. |
| React Widget | react_widget | Paragraph type | Advanced editors can use this to place react widgets (like a form) on the page. |
| Sections | administration | Vocabulary | Represents a hierarchy of the VA, partly for governance purposes. |
| Situation update | situation_update | Paragraph type | A time-sensitive, added to a banner alert, and displayed on VAMC operating status pages. |
| Staff profile | person_profile | Content type | Profiles of staff members for display in various places around the site. |
| Staff profile | staff_profile | Paragraph type | Add a profile of a staff person. |
| Starred Horizontal Rule | starred_horizontal_rule | Paragraph type | Current an inactive paragraph type, not enabled within any fields. |
| Story | news_story | Content type | Community stories highlight the role of a VA facility, program, or healthcare system in a Veteran's journey. They may be a case study of a specific patient, a description of a new or successful program, or a community-interest story. |
| Story listing page | story_listing | Content type | A listing of stories. |
| Support Service | support_service | Content type | Help desks, hotlines, etc, to be contextually placed alongside relevant content. |
| Table | table | Paragraph type | Add an HTML table with rows and columns. |
| Type of Redirect | type_of_redirect | Vocabulary | |
| VA form | va_form | Content type | VA forms available for download. Used to populate search results and also generate form landing pages |
| VAMC facility | health_care_local_facility | Content type | A clinic or hospital within a VAMC system. |
| VAMC facility health service | health_care_local_health_service | Content type | A facility specific description of a health care service, always embedded within a VAMC system description. |
| VAMC facility service (non-healthcare service) | health_care_local_facility_servi | Paragraph type | A service available at a specific health care facility, like Parking, or Chaplaincy. |
| VAMC system | health_care_region_page | Content type | A VAMC system contains multiple VHA health facilities, including usually at least one VAMC, sometimes more. |
| VAMC system banner alert with situation updates | full_width_banner_alert | Content type | A full-width alert that will be added to a VAMC system, or multiple VAMC systems. |
| VAMC system health service | regional_health_care_service_des | Content type | A description of a health service specific to a VAMC system. |
| VAMC system operating status | vamc_operating_status_and_alerts | Content type | Create one of these pages for each VAMC system. Then you can add banner alerts and update facilities' operating status, all from one place. |
| VBA facility | vba_facility | Content type | A facility within Veterans Benefits Administration system. |
| Vet Center | vet_center | Content type | A facility within Vet Centers system. |
| VHA health service taxonomy | health_care_service_taxonomy | Vocabulary | Single source of truth for health service names, descriptions, patient-friendly names, and common conditions. |
| Video | video | Media type | A video hosted by YouTube, Vimeo, or some other provider. |
| WYSIWYG | wysiwyg | Paragraph type | An open-ended text field. |
@api
Feature: Content model: Content Type fields
In order to enter structured content into my site
As a content editor
I want to have content type fields that reflect my content model.
@dst @field_type @content_type_fields @dstfields
Scenario: Fields # drupal-spec-tool/content_model_content_type_fields.feature:8
Then exactly the following fields should exist for entity type node # CustomDrupal\ContentModelContextCustom::assertFields()
| Type | Bundle | Field label | Machine name | Field type | Required | Cardinality | Form widget | Translatable |
| Content type | Benefits detail page | Alert | field_alert | Entity reference | | 1 | Entity browser | |
| Content type | Benefits detail page | Featured content | field_featured_content | Entity reference revisions | | Unlimited | Paragraphs EXPERIMENTAL | |
| Content type | Benefits detail page | Generate a table of contents from major headings | field_table_of_contents_boolean | Boolean | | 1 | Single on/off checkbox | Translatable |
| Content type | Benefits detail page | Main content | field_content_block | Entity reference revisions | Required | Unlimited | Paragraphs Browser EXPERIMENTAL | |
| Content type | Benefits detail page | Meta description | field_description | Text (plain) | Required | 1 | Textfield with counter | |
| Content type | Benefits detail page | Meta tags | field_meta_tags | Meta tags | | 1 | Advanced meta tags form | |
| Content type | Benefits detail page | Meta title tag | field_meta_title | Text (plain) | Required | 1 | Textfield with counter | |
| Content type | Benefits detail page | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Benefits detail page | Page introduction | field_intro_text_limited_html | Text (formatted, long) | Required | 1 | -- Disabled -- | |
| Content type | Benefits detail page | Page introduction | field_intro_text | Text (plain, long) | Required | 1 | Textarea (multiple rows) with counter | |
| Content type | Benefits detail page | Page last built | field_page_last_built | Date | | 1 | -- Disabled -- | |
| Content type | Benefits detail page | Plain Language Certification Date | field_plainlanguage_date | Date | | 1 | Date and time | |
| Content type | Benefits detail page | Related Links | field_related_links | Entity reference revisions | | 1 | Paragraphs EXPERIMENTAL | |
| Content type | Benefits hub landing page | Alert | field_alert | Entity reference | | 1 | Entity browser | Translatable |
| Content type | Benefits hub landing page | Hub Icon | field_title_icon | List (text) | | 1 | Select list | |
| Content type | Benefits hub landing page | Hub label | field_home_page_hub_label | Text (plain) | | 1 | Textfield | |
| Content type | Benefits hub landing page | Hub teaser text | field_teaser_text | Text (plain) | | 1 | Textfield with counter | |
| Content type | Benefits hub landing page | Links for non-veterans | field_links | Link | | Unlimited | Linkit | |
| Content type | Benefits hub landing page | Meta description | field_description | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Benefits hub landing page | Meta tags | field_meta_tags | Meta tags | | 1 | Advanced meta tags form | Translatable |
| Content type | Benefits hub landing page | Meta title tag | field_meta_title | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Benefits hub landing page | Owner | field_administration | Entity reference | Required | 1 | Select list | |
| Content type | Benefits hub landing page | Page introduction | field_intro_text | Text (plain, long) | Required | 1 | Text area (multiple rows) | Translatable |
| Content type | Benefits hub landing page | Page last built | field_page_last_built | Date | | 1 | Date and time | Translatable |
| Content type | Benefits hub landing page | Plain language Certified Date | field_plainlanguage_date | Date | | 1 | Date and time | Translatable |
| Content type | Benefits hub landing page | Promo | field_promo | Entity reference | | 1 | Select list | |
| Content type | Benefits hub landing page | Related Links | field_related_links | Entity reference revisions | | 1 | Paragraphs Classic | Translatable |
| Content type | Benefits hub landing page | Spokes | field_spokes | Entity reference revisions | Required | 4 | Paragraphs EXPERIMENTAL | |
| Content type | Benefits hub landing page | Support Services | field_support_services | Entity reference | | Unlimited | Inline entity form - Complex | |
| Content type | Detail Page | Alert | field_alert | Entity reference | | 1 | Select list | Translatable |
| Content type | Detail Page | Featured content | field_featured_content | Entity reference revisions | | Unlimited | Paragraphs EXPERIMENTAL | Translatable |
| Content type | Detail Page | Generate a table of contents from major headings | field_table_of_contents_boolean | Boolean | | 1 | Single on/off checkbox | |
| Content type | Detail Page | Main content | field_content_block | Entity reference revisions | | Unlimited | Paragraphs Browser EXPERIMENTAL | Translatable |
| Content type | Detail Page | Meta description | field_description | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Detail Page | Meta tags | field_meta_tags | Meta tags | | 1 | Advanced meta tags form | Translatable |
| Content type | Detail Page | Meta title tag | field_meta_title | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Detail Page | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Detail Page | Page introduction | field_intro_text | Text (plain, long) | Required | 1 | Textarea (multiple rows) with counter | Translatable |
| Content type | Detail Page | Related Links | field_related_links | Entity reference revisions | | 1 | Paragraphs EXPERIMENTAL | Translatable |
| Content type | Detail Page | Related office or health care system | field_office | Entity reference | Required | 1 | Select list | Translatable |
| Content type | CMS help page | Page introduction | field_intro_text | Text (plain, long) | Required | 1 | Text area (multiple rows) | Translatable |
| Content type | CMS help page | Related user guides | field_related_user_guides | Entity reference | | 5 | Autocomplete | |
| Content type | CMS help page | Generate a table of contents from major headings | field_table_of_contents_boolean | Boolean | | 1 | -- Disabled -- | Translatable |
| Content type | CMS help page | Main content | field_content_block | Entity reference revisions | | Unlimited | Paragraphs Browser EXPERIMENTAL | Translatable |
| Content type | CMS help page | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Event | A human-readable label for the event location. | field_location_humanreadable | Text (plain) | | 1 | Textfield | |
| Content type | Event | Additional information about registration | field_additional_information_abo | Text (formatted, long) | | 1 | Text area (multiple rows) | |
| Content type | Event | Address | field_address | Address | | 1 | Address | |
| Content type | Event | Cost | field_event_cost | Text (plain) | | 1 | Textfield with counter | |
| Content type | Event | Date and time | field_date | Date range | | 1 | Date and time range | |
| Content type | Event | Event listing | field_listing | Entity reference | Required | 1 | Select list | |
| Content type | Event | Facility location | field_facility_location | Entity reference | | 1 | Select list | |
| Content type | Event | Featured | field_featured | Boolean | | 1 | Single on/off checkbox | Translatable |
| Content type | Event | Full event description | field_body | Text (formatted, long) | | 1 | Text area (multiple rows) | |
| Content type | Event | Image | field_media | Entity reference | | 1 | Media library | Translatable |
| Content type | Event | Location type | field_location_type | List (text) | | 1 | Select list | |
| Content type | Event | Meta description | field_description | Text (plain) | | 1 | Textfield | Translatable |
| Content type | Event | Meta tags | field_meta_tags | Meta tags | | 1 | Advanced meta tags form | Translatable |
| Content type | Event | Order | field_order | List (integer) | | 1 | Select list | |
| Content type | Event | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Event | Registration required | field_event_registrationrequired | Boolean | | 1 | Single on/off checkbox | |
| Content type | Event | URL Link Label | field_event_cta | List (text) | | 1 | Select list | |
| Content type | Event | URL of an external page or registration link for this event | field_link | Link | | 1 | Link | Translatable |
| Content type | Event | URL of an online event | field_url_of_an_online_event | Link | | 1 | Link | |
| Content type | Event listing page | Meta description | field_description | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Event listing page | Meta tags | field_meta_tags | Meta tags | | 1 | Advanced meta tags form | Translatable |
| Content type | Event listing page | Meta title tag | field_meta_title | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Event listing page | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Event listing page | Page introduction | field_intro_text | Text (plain, long) | | 1 | Text area (multiple rows) | Translatable |
| Content type | Event listing page | Related office or health care system | field_office | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Health services listing page | Featured content on health-services page | field_featured_content_healthser | Entity reference revisions | | 3 | Paragraphs Classic | Translatable |
| Content type | Health services listing page | Meta description | field_description | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Health services listing page | Meta tags | field_meta_tags | Meta tags | | 1 | Advanced meta tags form | Translatable |
| Content type | Health services listing page | Meta title tag | field_meta_title | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Health services listing page | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Health services listing page | Page introduction | field_intro_text | Text (plain, long) | | 1 | Text area (multiple rows) | Translatable |
| Content type | Health services listing page | Related office or health care system | field_office | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Leadership listing page | Leadership team | field_leadership | Entity reference | | Unlimited | Autocomplete | Translatable |
| Content type | Leadership listing page | Meta description | field_description | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Leadership listing page | Meta tags | field_meta_tags | Meta tags | | 1 | Advanced meta tags form | Translatable |
| Content type | Leadership listing page | Meta title tag | field_meta_title | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Leadership listing page | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Leadership listing page | Page introduction | field_intro_text | Text (plain, long) | | 1 | Text area (multiple rows) | Translatable |
| Content type | Leadership listing page | Related office or health care system | field_office | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Locations listing page | Meta description | field_description | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Locations listing page | Meta tags | field_meta_tags | Meta tags | | 1 | Advanced meta tags form | Translatable |
| Content type | Locations listing page | Meta title tag | field_meta_title | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Locations listing page | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Locations listing page | Page introduction | field_intro_text | Text (plain, long) | | 1 | Text area (multiple rows) | Translatable |
| Content type | Locations listing page | Related office or health care system | field_office | Entity reference | Required | 1 | Select list | Translatable |
| Content type | NCA facility | Facility Locator API ID | field_facility_locator_api_id | Text (plain) | | 1 | Textfield | Translatable |
| Content type | NCA facility | Operating status | field_operating_status_facility | List (text) | Required | 1 | Select list | Translatable |
| Content type | NCA facility | Operating status - more info | field_operating_status_more_info | Text (plain, long) | | 1 | Textarea (multiple rows) with counter | Translatable |
| Content type | NCA facility | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | News release | Full text of the Press Release | field_press_release_fulltext | Text (formatted, long) | Required | 1 | Text area (multiple rows) | |
| Content type | News release | Introduction | field_intro_text | Text (plain, long) | Required | 1 | Textarea (multiple rows) with counter | Translatable |
| Content type | News release | Location | field_address | Address | Required | 1 | Address | Translatable |
| Content type | News release | Media assets | field_press_release_downloads | Entity reference | | Unlimited | Media library | |
| Content type | News release | Media Contact(s) | field_press_release_contact | Entity reference | | Unlimited | Autocomplete | Translatable |
| Content type | News release | Meta tags | field_meta_tags | Meta tags | | 1 | Advanced meta tags form | Translatable |
| Content type | News release | News releases listing | field_listing | Entity reference | Required | 1 | Select list | Translatable |
| Content type | News release | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | News release | PDF of Press Release | field_pdf_version | Entity reference | | 1 | Media library | |
| Content type | News release | Release date | field_release_date | Date | | 1 | Date and time | |
| Content type | News release listing page | Meta description | field_description | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | News release listing page | Meta tags | field_meta_tags | Meta tags | | 1 | Advanced meta tags form | Translatable |
| Content type | News release listing page | Meta title tag | field_meta_title | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | News release listing page | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | News release listing page | Page introduction | field_intro_text | Text (plain, long) | | 1 | Text area (multiple rows) | Translatable |
| Content type | News release listing page | Press Release Blurb | field_press_release_blurb | Text (formatted, long) | | 1 | Text area (multiple rows) | Translatable |
| Content type | News release listing page | Related office or health care system | field_office | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Office | Body | field_body | Text (formatted, long) | | 1 | Text area (multiple rows) | Translatable |
| Content type | Office | Meta description | field_description | Text (plain) | | 1 | Textfield | Translatable |
| Content type | Office | Meta tags | field_meta_tags | Meta tags | | 1 | Advanced meta tags form | Translatable |
| Content type | Office | Meta title tag | field_meta_title | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Office | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Publication | File or video | field_media | Entity reference | | 1 | Media library | |
| Content type | Publication | Format | field_format | List (text) | Required | 1 | Select list | |
| Content type | Publication | Meta description | field_description | Text (plain) | | 1 | Textfield | Translatable |
| Content type | Publication | Meta tags | field_meta_tags | Meta tags | | 1 | Advanced meta tags form | Translatable |
| Content type | Publication | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Publication | Publication listing | field_listing | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Publication | Related Benefits | field_benefits | List (text) | | 1 | Select list | |
| Content type | Publication listing page | Intro text | field_intro_text | Text (plain, long) | | 1 | Text area (multiple rows) | Translatable |
| Content type | Publication listing page | Meta description | field_description | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Publication listing page | Meta tags | field_meta_tags | Meta tags | | 1 | Advanced meta tags form | Translatable |
| Content type | Publication listing page | Meta title tag | field_meta_title | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Publication listing page | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Publication listing page | Related office or health care system | field_office | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Q&A | Answer | field_answer | Entity reference revisions | Required | Unlimited | Paragraphs EXPERIMENTAL | |
| Content type | Q&A | Meta description | field_description | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Q&A | Meta tags | field_meta_tags | Meta tags | | 1 | Advanced meta tags form | Translatable |
| Content type | Q&A | Meta title tag | field_meta_title | Text (plain) | Required | 1 | Textfield with counter | Translatable |
| Content type | Q&A | Owner | field_administration | Entity reference | Required | 1 | Select list | Translatable |
| Content type | Staff profile | Bio | field_body | Text (formatted, long) | | 1 | Text area (multiple rows) | Translatable |
| Content type | Staff profile | Complete Biography | field_complete_biography | File | | 1 | File | |
| Content type | Staff profile | Email address | field_email_address | Email | | 1 | Email | ... *(truncated)*
The reason will be displayed to describe this comment to others. Learn more.
❌ Test Failed: va/tests/accessibility
composer va:test:accessibility
> [email protected] install /var/www/cms/node_modules/phantomjs-prebuilt
> node install.js
PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Receiving...
Received 22866K total.
Extracting tar contents (via spawned process)
Removing /var/www/cms/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1595872326929/phantomjs-2.1.1-linux-x86_64 -> /var/www/cms/node_modules/phantomjs-prebuilt/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /var/www/cms/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
> [email protected] postinstall /var/www/cms/node_modules/core-js
> node scripts/postinstall || echo "ignore"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
added 134 packages from 190 contributors and audited 134 packages in 12.625s
found 3 low severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
> [email protected] test /var/www/cms
> node ./tests/accessibility/aXeAccessibilityCheck.js
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com 1
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/sections = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/page = 2
[ { id: 'duplicate-id',
impact: 'minor',
tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
description: 'Ensures every id attribute value is unique',
help: 'id attribute value must be unique',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/duplicate-id?application=webdriverjs',
nodes: [ [Object], [Object] ] },
{ id: 'label',
impact: 'critical',
tags:
[ 'cat.forms',
'wcag2a',
'wcag332',
'wcag131',
'section508',
'section508.22.n' ],
description: 'Ensures every form element has a label',
help: 'Form elements must have labels',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/label?application=webdriverjs',
nodes: [ [Object] ] } ]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/landing_page = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/documentation_page = 1
[ { id: 'label',
impact: 'critical',
tags:
[ 'cat.forms',
'wcag2a',
'wcag332',
'wcag131',
'section508',
'section508.22.n' ],
description: 'Ensures every form element has a label',
help: 'Form elements must have labels',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/label?application=webdriverjs',
nodes: [ [Object] ] } ]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/event = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/health_care_local_facility = 1
[ { id: 'label',
impact: 'critical',
tags:
[ 'cat.forms',
'wcag2a',
'wcag332',
'wcag131',
'section508',
'section508.22.n' ],
description: 'Ensures every form element has a label',
help: 'Form elements must have labels',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/label?application=webdriverjs',
nodes:
[ [Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object] ] } ]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/health_care_region_detail_page = 2
[ { id: 'duplicate-id',
impact: 'minor',
tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
description: 'Ensures every id attribute value is unique',
help: 'id attribute value must be unique',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/duplicate-id?application=webdriverjs',
nodes: [ [Object], [Object] ] },
{ id: 'label',
impact: 'critical',
tags:
[ 'cat.forms',
'wcag2a',
'wcag332',
'wcag131',
'section508',
'section508.22.n' ],
description: 'Ensures every form element has a label',
help: 'Form elements must have labels',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/label?application=webdriverjs',
nodes: [ [Object] ] } ]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/health_care_region_page = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/office = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/outreach_asset = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/person_profile = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/press_release = 1
[ { id: 'aria-allowed-attr',
impact: 'critical',
tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
description: 'Ensures ARIA attributes are allowed for an element\'s role',
help: 'Elements must only use allowed ARIA attributes',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/aria-allowed-attr?application=webdriverjs',
nodes: [ [Object] ] } ]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/regional_health_care_service_des = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/news_story = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/node/add/support_service = 0
[]
!!! NUMBER OF NEW VIOLATIONS on http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com/user = 1
[ { id: 'color-contrast',
impact: 'serious',
tags: [ 'cat.color', 'wcag2aa', 'wcag143' ],
description:
'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds',
help: 'Elements must have sufficient color contrast',
helpUrl:
'https://dequeuniversity.com/rules/axe/3.3/color-contrast?application=webdriverjs',
nodes:
[ [Object], [Object], [Object], [Object], [Object], [Object] ] } ]
!!! VIOLATION TYPES FOUND: 9 PROCESS EXITED WITH CODE 1 !!!
> npm install --only=production
> npm test
Mon, 27 Jul 2020 17:52:11 GMT axe-webdriverjs deprecated Error must be handled as the first argument of axe.analyze. See: #83 at tests/accessibility/aXeAccessibilityCheck.js:45:14
Mon, 27 Jul 2020 17:52:21 GMT axe-webdriverjs deprecated Error must be handled as the first argument of axe.analyze. See: #83 at tests/accessibility/aXeAccessibilityCheck.js:57:42
npm ERR! Test failed. See above for more details.
Script npm test handling the va:test:accessibility event returned with error code 1
9150d01
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Test Failed:
va/tests/accessibility
9150d01
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Test Failed:
va/tests/behat
9150d01
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Test Failed:
va/tests/accessibility