Marcelo Paiva
a3109c6332
Add ARIA labels to icon-only buttons across the application
...
Fixed 12 icon-only buttons that lacked accessible names for screen readers:
Vue Components (8 buttons):
- template_builder/controls.vue: Move up/down/remove document buttons
- template_builder/area.vue: Remove field button
- template_builder/custom_field.vue: Settings/save/remove field buttons
- submission_form/attachment_step.vue: Remove attachment button
Rails Views (4 buttons):
- shared/_navbar.html.erb: User menu dropdown trigger
* Added role="button" and aria-haspopup for proper semantics
- shared/_turbo_modal.html.erb: Modal close button
- shared/_turbo_modal_large.html.erb: Modal close button
- shared/_html_modal.html.erb: Modal close button
All aria-labels use i18n translation keys (t()) for proper localization.
This satisfies WCAG 2.2 Success Criterion 4.1.2 (Name, Role, Value, Level A).
Screen reader users can now:
- Identify the purpose of icon-only buttons
- Navigate modals with proper announcements
- Use template builder controls effectively
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 month ago
Marcelo Paiva
24fa7450c7
Add alt text to all images in Rails ERB views
...
Fixed 8 images missing alt attributes across Rails views:
- submissions/show.html.erb (4 images):
* Document preview thumbnails in sidebar
* Document page images in main viewer
* Signature/initials field images in parties view
* Image/stamp/KBA attachment images in parties view
- profile/index.html.erb (2 images):
* User's signature preview
* User's initials preview
- submissions/_value.html.erb (2 images):
* Signature field images with metadata
* Image/initials/stamp/KBA field images
- submit_form/show.html.erb (1 image):
* Document page images in submission form
All alt text uses dynamic field names and descriptive defaults with i18n support.
This satisfies WCAG 2.2 Success Criterion 1.1.1 (Non-text Content, Level A).
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 month ago
Marcelo Paiva
743e7e5ca6
Add alt text to all images in Vue submission form components
...
Fixed 6 images missing alt attributes across submission form components:
- signature_step.vue: Added dynamic alt text with field name and "preview"
- initials_step.vue: Added dynamic alt text with field name and "preview"
- image_step.vue: Added dynamic alt text with field name and "preview"
- area.vue: Added alt text for 5 different image types:
* Image field
* Stamp field
* Knowledge-based authentication (KBA) field
* Signature field
* Initials field
All alt text uses field.name when available, falling back to descriptive defaults.
This satisfies WCAG 2.2 Success Criterion 1.1.1 (Non-text Content, Level A).
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 month ago
Marcelo Paiva
aa9cb026a9
Add Phase 1 accessibility infrastructure and semantic landmarks
...
This commit establishes the foundation for WCAG 2.2 Level AA compliance:
Infrastructure:
- Add axe-core-rspec gem for automated accessibility testing
- Create spec/accessibility/ directory structure
- Add accessibility_helpers.rb with custom WCAG test helpers
- Add comprehensive testing documentation (README.md, SETUP_NOTES.md)
Semantic Landmarks (WCAG 2.4.1):
- Add <main> landmark with id="main-content" to application layout
- Add <nav> landmark with aria-label to navbar
- Add skip navigation link for keyboard users
- Skip link uses focus:translate-y-0 to appear only on keyboard focus
These changes address critical barriers for screen reader and keyboard users.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 month ago
Pete Matsyburka
ee2400a5c5
touch signature attachment
2 months ago
Pete Matsyburka
80be5d2cf5
sandbox
2 months ago
Pete Matsyburka
76cf44a31b
fix
2 months ago
Pete Matsyburka
11a5b5842d
starttls label
2 months ago
Pete Matsyburka
362994afd5
adjust i18n
2 months ago
Pete Matsyburka
d7682f4ebd
add number conditions
2 months ago
Pete Matsyburka
56d4fe7fa9
add white color
2 months ago
Pete Matsyburka
93a852ac14
fix save modal
2 months ago
Pete Matsyburka
964db0ab08
fix menu
2 months ago
Pete Matsyburka
8547295da7
border color
2 months ago
Pete Matsyburka
c75050fa46
adjust kba
2 months ago
Pete Matsyburka
65372c52aa
fix order
2 months ago
Alex Turchyn
12c767b7d3
add more options to context menu
2 months ago
Pete Matsyburka
2fc5e9cfb3
format cells
2 months ago
Pete Matsyburka
bccc78ee65
optimize builder
2 months ago
Pete Matsyburka
c0793f3ce7
cell font settings
2 months ago
Pete Matsyburka
a8dd8699a3
adjust kba
2 months ago
Pete Matsyburka
c3f4480cdc
add submitter index
2 months ago
Pete Matsyburka
4f5acbec9d
readonly radio
2 months ago
Pete Matsyburka
d2c9bbf6ab
optimize conditions
2 months ago
Pete Matsyburka
5081e387d0
fix undefined
2 months ago
Pete Matsyburka
1e5f55c1d6
fix Point is invalid
2 months ago
Pete Matsyburka
127f95a9d0
fix typo
2 months ago
Pete Matsyburka
4adaa531b7
fix pagination
2 months ago
Alex Turchyn
7b5494468f
update rails to 8.1.2
2 months ago
Pete Matsyburka
d12c67fd54
with force open
2 months ago
Pete Matsyburka
e20eacb5ee
center on click
2 months ago
Pete Matsyburka
98055f0762
add can parse polyfill
2 months ago
Pete Matsyburka
a46c42c3a0
fix resize warning
2 months ago
Pete Matsyburka
c3d1503361
cleanup
2 months ago
Pete Matsyburka
65b47d27cd
adjust form
2 months ago
Pete Matsyburka
91814ca105
custom fields
2 months ago
Pete Matsyburka
264897bbd5
audit with sender
2 months ago
Pete Matsyburka
92ea8af786
fix options drag
2 months ago
Pete Matsyburka
df0616f77e
paste options
2 months ago
Pete Matsyburka
48e349c1d2
fix signature pad when resize
2 months ago
Pete Matsyburka
df9fa0fec7
fix scroll into field
2 months ago
Pete Matsyburka
745a18efca
fix select mode draw
2 months ago
Pete Matsyburka
b4a8147ff0
fix radio group paste
2 months ago
Pete Matsyburka
0543c25054
detect fields in context menu
2 months ago
Pete Matsyburka
b1a0afea66
fix menu
2 months ago
Pete Matsyburka
43c41e2557
add select fields mode
2 months ago
Pete Matsyburka
bc8eb33f05
Revert "hide area name menu on desktop"
...
This reverts commit 5212773d0a .
2 months ago
Pete Matsyburka
d1cebc92f7
fix eslint
2 months ago
Pete Matsyburka
bf02cf4058
fix paste
2 months ago
Pete Matsyburka
5212773d0a
hide area name menu on desktop
2 months ago