Canvas supports 2D shadows in all browsers, as much as it supports fill color and stroke color. Like fill color or stroke color, it could be a part of P5 as well which could be defaulted to zero and maybe changed for different parts of the canvas with createGraphics or push-pop methods. This feature will result in a bit more power to the developer.
are there 3d shadows supported?
Hi @a-y-u-s-h, we currently require any new feature requests to make the case for how the proposed new feature increases access of the project. You can read more here. As it stands currently, I don't think this particular feature request has made the requirement. You can still make an argument for its inclusion if you can provide some info about how this feature increases access. Thanks!
Hi @limzykenneth. Honestly, I have no idea about how Web Accessibility works with canvas. I just thought that screen readers read DOM node attributes until now (half knowledge) and canvas being an image getting rendered again and again it must be something different. So all I can say is that yeah it's just a feature suggestion - because to me this feature feels not any different from already implemented fill or stroke functions. It just enables more power and maybe more interesting possible sketches. You'll have a much better idea whether this is an accessible feature or not.
@blechdavier WebGL shadows are also a thing yes, but I'm not sure whether p5 supports it. Last time I used p5 it was 3-4 years ago and 3D support was at its infancy back then, and since then things have changed a lot so I'm experimenting things out as well.
Accessibility in our case is not limited to the Web Accessibility API but rather a broader and self-reflective understanding of what accessibility means. It is not entirely your responsibility to come up with an accessibility argument for this feature so don't worry if you can't think of something, maybe this feature resonate with someone else in terms of giving them more access to the project and coding in general and they can chime in with their opinion.
I'll keep this issue open for the time being for additional comments but may close it further down the line for organizational purpose. 馃槂
Most helpful comment
Accessibility in our case is not limited to the Web Accessibility API but rather a broader and self-reflective understanding of what accessibility means. It is not entirely your responsibility to come up with an accessibility argument for this feature so don't worry if you can't think of something, maybe this feature resonate with someone else in terms of giving them more access to the project and coding in general and they can chime in with their opinion.
I'll keep this issue open for the time being for additional comments but may close it further down the line for organizational purpose. 馃槂