Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
4ee6fbc
DP-44225: Add `Self-Reported Accessibility Status` field with custom …
dstorozhuk Jan 8, 2026
c7b34b6
DP-44225: Attach library to reset accessibility status on document re…
dstorozhuk Jan 9, 2026
7d80cc3
DP-44225: Rename `field_accessibility_status` to `field_accessibility…
dstorozhuk Jan 15, 2026
30c1c88
DP-44225: Remove `mass_field_list_long_label` module no longer in use
dstorozhuk Jan 15, 2026
cffbc0c
DP-44225: Update JavaScript to reflect `field_accessibility_status` r…
dstorozhuk Jan 15, 2026
5c1fcb9
updated text
Jan 20, 2026
6a7ffd6
Merge branch 'develop' into feature/DP-44225-Add-field-to-Document-me…
joeg8612 Jan 22, 2026
194528a
updated text
Jan 23, 2026
ebc884a
Merge branch 'develop' into feature/DP-44225-Add-field-to-Document-me…
joeg8612 Feb 6, 2026
2b74843
minor text change
Feb 6, 2026
f2e3af4
minor text changes
Feb 12, 2026
084d735
Merge branch 'develop' into feature/DP-44225-Add-field-to-Document-me…
dstorozhuk Feb 13, 2026
6e43cab
DP-44225: Make accessibility status field required, remove TBD option
dstorozhuk Feb 13, 2026
c3867ae
Merge branch 'develop' into feature/DP-44225-Add-field-to-Document-me…
dstorozhuk Feb 17, 2026
93a316b
Merge branch 'develop' into feature/DP-44225-Add-field-to-Document-me…
dstorozhuk Feb 17, 2026
c647555
DP-44225: revert 6e43cabedf727c817a0b985122a7514c5f36bfe5
dstorozhuk Feb 18, 2026
45f0016
DP-44225: Make accessibility status field optional and enhance JS res…
dstorozhuk Feb 18, 2026
a8b7f33
DP-44225: Add aria-live announcements to accessibility status reset
dstorozhuk Feb 18, 2026
2d703c2
updated views with filter and field in export file
Feb 18, 2026
62cbd9e
Merge branch 'develop' into feature/DP-44225-Add-field-to-Document-me…
joeg8612 Feb 18, 2026
87b2b23
DP-44225: Update JS selector to enhance accessibility field reset logic
dstorozhuk Feb 19, 2026
8135e7b
Update field.storage.media.field_accessibility_self_rpt.yml
joeg8612 Feb 19, 2026
06d5e4f
Merge branch 'develop' into feature/DP-44225-Add-field-to-Document-me…
joeg8612 Feb 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelogs/DP-44225.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Added:
- description: Field to Document media entity for authors to select accessibility state designation.
issue: DP-44225
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- field.field.media.document.field_accessibility_self_rpt
- field.field.media.document.field_category
- field.field.media.document.field_collections
- field.field.media.document.field_description
Expand All @@ -26,6 +27,7 @@ dependencies:
- entity_reference_tree
- field_group
- file
- mass_fields
- path
third_party_settings:
field_group:
Expand Down Expand Up @@ -74,6 +76,7 @@ third_party_settings:
- field_description
- field_document_listing_desc
- field_upload_file
- field_accessibility_self_rpt
- field_category
- field_organizations
- langcode
Expand All @@ -99,15 +102,21 @@ targetEntityType: media
bundle: document
mode: default
content:
field_accessibility_self_rpt:
type: list_long_label_document_self_reported_accessibility_status_widget
weight: 6
region: content
settings: { }
third_party_settings: { }
field_category:
type: options_select
weight: 6
weight: 7
region: content
settings: { }
third_party_settings: { }
field_collections:
type: entity_reference_tree
weight: 18
weight: 12
region: content
settings:
theme: default
Expand All @@ -133,7 +142,7 @@ content:
third_party_settings: { }
field_document_label:
type: entity_reference_autocomplete
weight: 17
weight: 11
region: content
settings:
match_operator: CONTAINS
Expand All @@ -151,15 +160,15 @@ content:
third_party_settings: { }
field_internal_notes:
type: string_textarea
weight: 20
weight: 13
region: content
settings:
rows: 1
placeholder: ''
third_party_settings: { }
field_media_english_version:
type: entity_reference_autocomplete
weight: 9
weight: 10
region: content
settings:
match_operator: CONTAINS
Expand Down Expand Up @@ -187,7 +196,7 @@ content:
selector: ''
field_organizations:
type: entity_reference_autocomplete
weight: 7
weight: 8
region: content
settings:
match_operator: CONTAINS
Expand Down Expand Up @@ -218,7 +227,7 @@ content:
third_party_settings: { }
langcode:
type: language_select
weight: 8
weight: 9
region: content
settings:
include_locked: false
Expand Down Expand Up @@ -249,14 +258,14 @@ content:
third_party_settings: { }
search:
type: boolean_checkbox
weight: 6
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
display_label: true
simple_sitemap:
weight: 5
weight: 6
region: content
settings: { }
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- field.field.media.document.field_accessibility_self_rpt
- field.field.media.document.field_category
- field.field.media.document.field_collections
- field.field.media.document.field_description
Expand Down Expand Up @@ -138,6 +139,7 @@ content:
region: content
hidden:
computed_manual_description: true
field_accessibility_self_rpt: true
field_description: true
field_document_label: true
field_document_type: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- core.entity_view_mode.media.linked_desc
- field.field.media.document.field_accessibility_self_rpt
- field.field.media.document.field_category
- field.field.media.document.field_collections
- field.field.media.document.field_description
Expand Down Expand Up @@ -81,6 +82,7 @@ content:
hidden:
computed_manual_description: true
created: true
field_accessibility_self_rpt: true
field_category: true
field_collections: true
field_contributing_agency: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- core.entity_view_mode.media.listing
- field.field.media.document.field_accessibility_self_rpt
- field.field.media.document.field_category
- field.field.media.document.field_collections
- field.field.media.document.field_description
Expand Down Expand Up @@ -129,6 +130,7 @@ content:
hidden:
computed_manual_description: true
content_moderation_control: true
field_accessibility_self_rpt: true
field_category: true
field_collections: true
field_description: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- core.entity_view_mode.media.manual_desc
- field.field.media.document.field_accessibility_self_rpt
- field.field.media.document.field_category
- field.field.media.document.field_collections
- field.field.media.document.field_description
Expand Down Expand Up @@ -73,6 +74,7 @@ content:
hidden:
computed_manual_description: true
created: true
field_accessibility_self_rpt: true
field_category: true
field_collections: true
field_contributing_agency: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- core.entity_view_mode.media.media_download_link
- field.field.media.document.field_accessibility_self_rpt
- field.field.media.document.field_category
- field.field.media.document.field_collections
- field.field.media.document.field_description
Expand Down Expand Up @@ -68,6 +69,7 @@ content:
hidden:
content_moderation_control: true
created: true
field_accessibility_self_rpt: true
field_category: true
field_collections: true
field_description: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: eeb03c2f-6a77-4dae-a032-cw29s4a36c68
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_accessibility_self_rpt
- media.type.document
module:
- mass_fields
- require_on_publish
third_party_settings:
require_on_publish:
require_on_publish: true
id: media.document.field_accessibility_self_rpt
field_name: field_accessibility_self_rpt
entity_type: media
bundle: document
label: 'Accessibility Status (self-reported)'
description: 'All Mass.gov documents are <a href="https://www.mass.gov/info-details/americans-with-disabilities-act-ada-title-ii-digital-accessibility-information">required to meet digital accessibility standards.</a> Report if this document is accessible. This will be used for reporting purposes. If you’re unsure how to create, test, or remediate a document to make it accessible, visit the <a href="https://www.mass.gov/accessibility-training-resource-center">accessibility training resource center</a>. Questions? Sign-up for <a href="https://massgov.service-now.com/eotss_forms?id=eotss_access_form&sys_id=10a00c641b285a989b4e63166e4bcb2d">ACCESS Office Hours</a>.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_long_label
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
uuid: 7fbaa67a-839d-4018-ae19-fe613bf87c82
langcode: en
status: true
dependencies:
module:
- mass_fields
- media
id: media.field_accessibility_self_rpt
field_name: field_accessibility_self_rpt
entity_type: media
type: list_long_label
settings:
allowed_values:
-
value: verified_accessible
label: '<small><strong>Verified accessible:</strong><br>My organization or a third-party vendor has checked the document and it passes automated and manual <a href="https://www.mass.gov/info-details/creating-accessible-electronic-documents-and-communications#accessibility-testing-checklists">accessibility checks</a>.</small>'
-
value: not_tested
label: '<small><strong>Unverified or not accessible yet:</strong><br> The document is not accessible or hasn’t been <a href="https://www.mass.gov/info-details/creating-accessible-electronic-documents-and-communications#accessibility-testing-checklists">checked for accessibility</a> yet. I understand that my organization needs to replace this document with an accessible version as soon as possible.</small>'
-
value: exception
label: '<small><strong>Exception:</strong><br>I went through the <a href="https://www.mass.gov/info-details/enterprise-digital-accessibility-policy-exception-request">Exception Request Process</a> (Executive Department only) and this type of document has been approved as an exception as part of a set of documents. I understand that my organization must provide this document in an accessible format upon request.</small>'
allowed_values_function: ''
module: mass_fields
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Loading