dotnet / dotnet/maui

[Enhancement] Image borders

Open
#3,121 1 comment 0 reactions 1 assignee Assigned to @jsuarezruiz View on GitHub
area-controls-image area-drawing proposal/open t/a11y
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

## Summary
Disclaimer: I'm not sure how feasible this is and have not looked into it at all yet!

Many images, especially ones consisting of multiple colors and a transparent background, do not have sufficient color contrast against their background. This leads to a failure to meet accessibility requirements.

Images can easily be made more accessible (with regard to color contrast) by adding a single color border/outline that contrasts against the background. So, if we could introduce a property to enable image outlines/borders, that could be super helpful for accessibility.

## Inspiration

I came across this when I had issues with images in my recipes app:

![accessible images borders](https://user-images.githubusercontent.com/21988533/138943090-4587f844-449a-4ec4-83d3-b0b5b1a7ac83.png)

## Intended Use Case
Making images more accessible

## Workaround
Just use images that already have these accessible traits

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.