Commit Graph

3134 Commits

Author SHA1 Message Date
Tessa Kelly
714c5ec36b Add a more extended example to the modal code 2020-09-02 13:17:56 -07:00
Tessa Kelly
14da7572d2 Hide the skip button when not focused 2020-09-02 12:53:27 -07:00
Tessa Kelly
97bf52f3bd Skip to header rather than to whole section 2020-09-02 12:39:35 -07:00
Tessa Kelly
367f3b824e Adds missing modal attribute (see https://www.w3.org/TR/wai-aria-practices-1.1/examples/dialog-modal/dialog.html\#) 2020-09-02 11:36:34 -07:00
Tessa Kelly
4c0ef73fa8 Switch to prevent default keydown event 2020-09-02 11:02:24 -07:00
Tessa Kelly
751aa89f84 Make info and warning into themes 2020-09-02 10:48:52 -07:00
Tessa Kelly
66bd38307c 💀 replace initOPen with open 2020-09-02 10:35:20 -07:00
Tessa Kelly
9b76457fb5 Change close to return a Model Cmd tuple 2020-09-02 10:29:53 -07:00
Tessa Kelly
b00ba16ad3 Adds helper for the close action that returns a model and cmd pair 2020-09-02 10:27:28 -07:00
Tessa Kelly
0768862b8b initOpen autofocuses on the first element 2020-09-02 10:17:53 -07:00
Tessa Kelly
9a67a64d63 Expose V11 2020-09-02 10:13:21 -07:00
Tessa Kelly
b04eee1d89 Use Modal.V11 2020-09-02 10:12:59 -07:00
Tessa Kelly
dfde8b6a84 cp Modal/V10 Modal/V11 2020-09-02 10:12:04 -07:00
Tessa
4989529746
Merge pull request #592 from NoRedInk/publish-message
Publish Message.V2
2020-09-02 10:10:01 -07:00
Tessa Kelly
2dff8ee6a6 Publish Message.V2 2020-09-02 09:58:41 -07:00
Brian Hicks
34d22c11c1
Merge pull request #591 from NoRedInk/FAB/live-region-banners
Fab/live region banners
2020-08-31 17:14:55 -05:00
Tessa Kelly
6e34e03d1c Polish docs 2020-08-31 11:57:28 -07:00
Tessa Kelly
d6c6313154 Adds alertDialog role docs 2020-08-31 11:49:43 -07:00
Tessa Kelly
7be5ef62b7 Adds docs for alertRole 2020-08-31 11:47:18 -07:00
Tessa Kelly
6c65010d24 Change the somethingWentWrong role to alert
while the details are interactible, the user definitely doesn't care about the details most of the time. And this error is not modal, which https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_alertdialog_role specifies as required for an alertdialog element
2020-08-31 11:47:09 -07:00
Tessa Kelly
7624530eb9 Use message v2 with alert role in the text input module on error" 2020-08-31 11:35:32 -07:00
Tessa Kelly
ed124e0f0e Set something went wrong role to alert dialog 2020-08-31 11:32:04 -07:00
Tessa Kelly
0a7ef831cd Move the background color into large and banner because we lost the visible border radius 2020-08-28 16:05:31 -07:00
Tessa Kelly
e5f5928c44 Render a table with all the examples 2020-08-28 16:05:31 -07:00
Tessa Kelly
4147112e08 Pull up the shared styles 2020-08-28 16:05:31 -07:00
Tessa Kelly
030113feca Fix tiny message custom theme styles 2020-08-28 16:05:31 -07:00
Tessa Kelly
64fc43aa2a Organize styles 2020-08-28 16:05:31 -07:00
Tessa Kelly
f9ee8f6fbb 💀 remove style that couldn't apply to anything 2020-08-28 16:05:31 -07:00
Tessa Kelly
ee55bf1686 💀 remove the helpers 2020-08-28 16:05:31 -07:00
Tessa Kelly
f9833b1f1e Replace high casing with getIcon helper 2020-08-28 16:05:31 -07:00
Tessa Kelly
05cf72f94f Consolidate the resets 2020-08-28 16:05:31 -07:00
Tessa Kelly
f6408b773c Pull up the containers for the views 2020-08-28 16:05:31 -07:00
Tessa Kelly
2db98755e4 💀 remove commented out line 2020-08-28 16:05:31 -07:00
Tessa Kelly
a24f45197f Extract the three difference icon views 2020-08-28 16:05:31 -07:00
Tessa Kelly
0b337ee1c5 Auto-set the content for the example after all 2020-08-28 16:05:31 -07:00
Tessa Kelly
1b41327cfa Indicate the default theme and size 2020-08-28 16:05:31 -07:00
Tessa Kelly
66798374c0 Make tiny, large, and banner into attribute constructors 2020-08-28 16:05:31 -07:00
Tessa Kelly
c3fdcd30fb Allow for greater customization of the custom theme 2020-08-28 16:05:31 -07:00
Tessa Kelly
34a733c11a Move Theme to be an attribute 2020-08-28 16:05:31 -07:00
Tessa Kelly
79d395ca4d Move Content to be an attribute 2020-08-28 16:05:31 -07:00
Tessa Kelly
e99c085cae 💀 remove mapContent 2020-08-28 16:05:31 -07:00
Tessa Kelly
cc6ccd400f Adds the view helper to the settings 2020-08-28 16:05:31 -07:00
Tessa Kelly
7050c82fa6 Fix the positioning of the large dismiss button 2020-08-28 16:05:31 -07:00
Tessa Kelly
1a8ad2da6f Fix version in class names 2020-08-28 16:05:31 -07:00
Tessa Kelly
7d329498b8 Position the tiny dismiss button 2020-08-28 16:05:31 -07:00
Tessa Kelly
78988a704a Show dismissibility in the Message example 2020-08-28 16:05:31 -07:00
Tessa Kelly
c911ba707c Pull the subcontrols to the top level 2020-08-28 16:05:31 -07:00
Tessa Kelly
34b0985652 Show one theme at a time 2020-08-28 16:05:31 -07:00
Tessa Kelly
3379cfc70f Use clickable text to show the dismiss message on all message views 2020-08-28 16:05:31 -07:00
Tessa Kelly
9b94e2cdb2 Add roles to the tiny and large elements 2020-08-28 16:05:31 -07:00