Skip to content

fix(accessibility): add bezier and spline to accessible output - #9258

Open
Kunal241207 wants to merge 1 commit into
processing:mainfrom
Kunal241207:fix/accessibility-bezier-spline
Open

Kunal241207 wants to merge 1 commit into
processing:mainfrom
Kunal241207:fix/accessibility-bezier-spline

Conversation

@Kunal241207

Copy link
Copy Markdown

Resolves #9236

Changes:

  • Add accessibility output support for bezier() and spline().
  • Calculate approximate position and area for curves in textOutput() and gridOutput().
  • Respect spline ends and tightness properties when generating accessibility output.
  • Use the fill color and calculated area for filled curves, and stroke color with zero area for stroked curves.
  • Calculate the centroid of the filled curve region for a more accurate position.
  • Add unit tests covering bezier/spline output, spline ends and tightness, and noFill() behavior.

Screenshots of the change:
Not applicable — this change affects generated accessibility output rather than the visual canvas.

PR Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add screen reader output support for bezier() and spline() curves

1 participant