Closed (fixed)
Project:
Dify
Version:
1.0.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
30 Jan 2026 at 07:57 UTC
Updated:
16 Feb 2026 at 11:21 UTC
Jump to comment: Most recent
Improve responsive and RGAA
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
asterovim commentedComment #5
jykin commentedSummary of accessibility improvements:
This patch improves RGAA/WCAG compliance for the dify_widget_vanilla module.
Semantic HTML:
Converted open/close buttons from
Added proper ARIA attributes to dialog (role="dialog", aria-modal, aria-labelledby)
Added role="log" and aria-live="polite" to messages container
Keyboard accessibility:
Implemented focus trap within the dialog
Added Escape key to close the widget
Focus is restored to the previously focused element on close
Added configurable skip link (can be enabled/disabled in admin config)
Screen reader support:
Added visually-hidden label for textarea
Added aria-label to all icon-only buttons
Added aria-pressed state for feedback buttons
Added role="article" with labels to messages
Added role="status" to typing indicator
Hidden decorative elements from AT (aria-hidden="true")
Visual accessibility:
Added :focus-visible styles for all interactive elements
Bug fixes:
Replaced text arrow character (→) with SVG for proper centering
Fixed duplicate loading spinner animation
Fix responsive close button
Ready for review.
Comment #7
asterovim commentedComment #9
asterovim commented