@@ -177,7 +177,8 @@ class Renderer2D extends Renderer {
177177 // create background rect
178178 const color = this . _pInst . color ( ...args ) ;
179179
180- //accessible Outputs
180+ // Add accessible outputs if the method exists; on success,
181+ // set the accessible output background to white.
181182 if ( this . _pInst . _addAccsOutput ?. ( ) ) {
182183 this . _pInst . _accsBackground ?. ( color . _getRGBA ( [ 255 , 255 , 255 , 255 ] ) ) ;
183184 }
@@ -210,7 +211,8 @@ class Renderer2D extends Renderer {
210211 const color = this . states . fillColor ;
211212 this . _setFill ( color . toString ( ) ) ;
212213
213- //accessible Outputs
214+ // Add accessible outputs if the method exists; on success,
215+ // set the accessible output background to white.
214216 if ( this . _pInst . _addAccsOutput ?. ( ) ) {
215217 this . _pInst . _accsCanvasColors ?. ( 'fill' , color . _getRGBA ( [ 255 , 255 , 255 , 255 ] ) ) ;
216218 }
@@ -221,7 +223,8 @@ class Renderer2D extends Renderer {
221223 const color = this . states . strokeColor ;
222224 this . _setStroke ( color . toString ( ) ) ;
223225
224- //accessible Outputs
226+ // Add accessible outputs if the method exists; on success,
227+ // set the accessible output background to white.
225228 if ( this . _pInst . _addAccsOutput ?. ( ) ) {
226229 this . _pInst . _accsCanvasColors ?. ( 'stroke' , color . _getRGBA ( [ 255 , 255 , 255 , 255 ] ) ) ;
227230 }
0 commit comments