advanced-cropper / vue-advanced-cropper

The advanced vue cropper library that gives you opportunity to create your own croppers suited for any website design
https://advanced-cropper.github.io/vue-advanced-cropper/
Other
930 stars 128 forks source link

alt attribute #234

Open AnthelmeLC opened 1 year ago

AnthelmeLC commented 1 year ago

Hi !

Is it possible to add alt attribute to your component, and set it to the img element built to improve the accessibility please ?

Norserium commented 1 year ago

@AnthelmeLC, do you want to add it dynamically like src?

AnthelmeLC commented 1 year ago

Yes please :)

Norserium commented 1 year ago

@AnthelmeLC, and what it would give to an user? The cropper still won't be accessible.

AnthelmeLC commented 1 year ago

it add a description for browser reader. And yes the component will not be 100% accessible, but i'm not an expert, and just try to contribute like i can. 1% accessible is better than 0% and it's a good start to improve your accessibility .

Norserium commented 1 year ago

@AnthelmeLC, there is truth in your words. But this approach is opposite to system approach, that I prefer.

Did you see any cropper that support accessibility? It would be helpful to me to understand the whole approach that should be implemented.

AnthelmeLC commented 1 year ago

Sorry for the long time i didn't answered.

I only use your cropper, so i can't help more sorry.