Marcelo Paiva
bf4bbedc28
Fix WCAG 2.1 AA medium/high issues: keyboard nav, canvas ARIA, live regions, focus management
...
- H7: Add user_menu.js custom element for navbar dropdown keyboard navigation
(ArrowDown/Up, Enter/Space, Escape, roving tabindex, aria-expanded) (WCAG 2.1.1)
- H8: Add aria-label + fallback text to signature, initials, and QR canvas elements (WCAG 1.1.1)
- M3: Add role="textbox" + aria-label to field name contenteditable in area.vue (WCAG 4.1.2)
- M4: Add aria-hidden/aria-expanded to toggle_visible.js and field_condition.js (WCAG 4.1.2)
- M5: Add aria-label ("Show/Hide password") + aria-pressed to password_input.js toggle (WCAG 4.1.2)
- M6: Move focus to first input on addItem; announce removal via announcePolite in dynamic_list.js (WCAG 2.4.3)
- M7: Announce "Copied to clipboard" via announcePolite in clipboard_copy.js (WCAG 4.1.3)
- M9: Fix placeholder contrast text-neutral-400 → text-neutral-600 in contenteditable.vue (WCAG 1.4.3)
- M9: Fix placeholder contrast before:text-base-content/30 → /60 in template_builder/area.vue (WCAG 1.4.3)
- M11: Add persistent aria-live="polite" region for QR code appearance in signature_step.vue (WCAG 4.1.3)
- Fix missed alert() in initials_step.vue → initialsError data prop + live region (WCAG 4.1.3)
- Add canvas accessibility i18n keys: signature_drawing_pad, initials_drawing_pad, qr_code_for_mobile_signature
- Add field_name i18n key to template_builder for contenteditable aria-label
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 weeks ago
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
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
b64a84a362
add csp
6 months ago
Pete Matsyburka
d7142c2935
adjust setup nav
8 months ago
Pete Matsyburka
bd3d643318
simplify nav
8 months ago
Pete Matsyburka
2b5f772feb
update ai link
11 months ago
Alex Turchyn
cfdc978a2a
add app tour
12 months ago
Alex Turchyn
0cb2557447
add warning message to navbar
1 year ago
Pete Matsyburka
b3507c1a3a
adjust test toggle size
1 year ago
Alex Turchyn
19b5a07bac
Add 'Test mode' switch to the profile dropdown
1 year ago
Pete Matsyburka
889103aa5e
use com
1 year ago
Pete Matsyburka
37bb987e3e
fix i18n
1 year ago
Alex Turchyn
c7b08e8d30
add languages
1 year ago
Oleksandr Turchyn
e9d728fa4a
add i18n
2 years ago
Pete Matsyburka
af787887d8
i18n sign in
2 years ago
Alex Turchyn
b38073126e
fix dropdown styles
2 years ago
Pete Matsyburka
17da8bde80
add upgrade button
2 years ago
Alex Turchyn
0127dd738e
fix navbar mobile layout
2 years ago
DocuSeal
9ddbcae153
fix plans link
2 years ago
DocuSeal
60b32fec94
adjust sign up header buttons
2 years ago
DocuSeal
8e2da83f9e
adjust demo
2 years ago
DocuSeal
b8fd5a77d4
adjust cancan permissions
2 years ago
Alex Turchyn
d3a5f36555
add ability to use own signing cert
3 years ago
Alex Turchyn
8e6639d891
add a link to the console in navbar
3 years ago
Alex Turchyn
3d75443d6e
adjust registration links
3 years ago
Alex Turchyn
c40a8e1a69
adjust registration for SaaS
3 years ago
Alex Turchyn
6f3fe1dd7b
improve registration and add oauth
3 years ago
Alex Turchyn
4ffd198505
adjust demo
3 years ago
Alex Turchyn
a72882ce0f
adjust form templates
3 years ago
Alex Turchyn
8f97d2f6f7
fix mobile layout
3 years ago
Alex Turchyn
95f7fff53d
fix style, add product links
3 years ago
Alex Turchyn
346e31ca1f
minor template improvements
3 years ago
Alex Turchyn
be196b2bcb
optimize dashboard on mobile
3 years ago
Alex Turchyn
d0c7d449d5
style template show page
3 years ago
Alex Turchyn
9c9c1ad6f0
adjust dashboard templates style
3 years ago
Alex Turchyn
ac5d0c8cc3
update daisyui, fix UI
3 years ago
Alex Turchyn
0b4a2819dd
add landing page
3 years ago
Alex Turchyn
c34ea8451f
simplify the profile settings form
3 years ago
Alex Turchyn
219ad2b4a7
add basic profile settings
3 years ago
Alex Turchyn
368e364823
add template submitters
3 years ago
Alex Turchyn
0c7ac32935
migrate to daisy UI v3.0.3
3 years ago
Alex Turchyn
f5c00ada31
add field area controls
3 years ago
Alex Turchyn
7234915818
update storage config template
3 years ago
Alex Turchyn
8b760281d2
add logo
3 years ago
Alex Turchyn
97a712d888
updated settings templates
3 years ago
Alex Turchyn
faf6f69e3e
style storage settings
3 years ago
Alex Turchyn
1435d55727
adjust navbar
3 years ago
Alex Turchyn
b8bae6d0e4
add daisy tailwind theme
3 years ago
Alex Turchyn
97c462ead2
initial commit
3 years ago