-
Notifications
You must be signed in to change notification settings - Fork 65
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1073 +/- ##
======================================
Coverage 100% 100%
======================================
Files 355 355
Lines 6577 6577
Branches 842 842
======================================
Hits 6577 6577 Continue to review full report at Codecov.
|
Is there any accessibility concern by changing this from a button? Perhaps @Blackbaud-MattGregg has some insight? |
Yes, I think this is going to be problematic looking at the changes (I think I'm looking at the right thing) b/c there isn't anything that is going to be keyboard focusable without the button OR communicate this function exists (i.e., the ) Additionally, I've found this one problematic b/c there isn't any communication of state (i.e., has/doesn't have an image). @Blackbaud-SteveBrush want to look at this together?
|
@Blackbaud-BobbyEarl @Blackbaud-MattGregg I was worried that would be an accessibility issue. Let me look at it further; I'll reach out to you, Matt, if I encounter any issues. Thanks! |
@Blackbaud-BobbyEarl @Blackbaud-MattGregg This is ready for another look! |
Looks better. will be reachable via keyboard and has text for it's function. Back to where it was before. We could look at other A11y improvements later. |
@Blackbaud-SteveBrush Should the cursor still be a pointer as is with the current behavior? |
Good catch, @Blackbaud-BobbyEarl. Fixed! |
Depending on the
compileMode
, the Avatar Component (read: File Drop) looks different. This is due to how the HTML is rendered. Duringjit
(orskyux serve
), the HTML template is parsed differently, and the innerHTML of the file drop button is extracted and added outside of it. During anaot
build, the innerHTML of the button is preserved. I'm assuming this is because the webpack loaders used for each scenario are different.(Note that placing block elements inside a button is considered invalid.)
If compile mode is
jit
or you typeskyux serve
:If compile mode is
aot
:(This is why the live documentation looks fine, but serving the docs locally with
skyux serve
looks different.)