Brandy Carney
5ce4ec0439
feat(action-sheet): add htmlAttributes property for passing attributes to buttons ( #27863 )
...
Issue number: N/A
---------
## What is the current behavior?
Buttons containing only icons are not accessible as there is no way to
pass an `aria-label` attribute (or any other html attribute).
## What is the new behavior?
- Adds the `htmlAttributes` property on the `ActionSheetButton`
interface
- Passes the `htmlAttributes` to the buttons (both the buttons array and
the cancelButton)
- Adds two tests to verify `aria-label` and `aria-labelled-by` are
passed to a button with and without the cancel role - this was done
because action sheet breaks these buttons up when rendering
## Does this introduce a breaking change?
- [ ] Yes
- [x] No
2023-07-31 12:23:46 -04:00
..
2023-06-20 10:05:00 -04:00
2023-06-01 12:10:45 -04:00
2023-07-31 12:23:46 -04:00
2023-06-01 12:10:45 -04:00
2023-06-20 10:05:00 -04:00
2023-06-06 23:44:59 +00:00
2023-07-06 16:00:48 +00:00
2023-04-12 13:25:14 -07:00
2023-06-20 10:05:00 -04:00
2023-05-03 13:38:03 -04:00
2023-06-20 10:05:00 -04:00
2023-07-19 09:52:12 -04:00
2023-07-07 15:04:52 -04:00
2023-06-01 12:10:45 -04:00
2023-06-20 10:05:00 -04:00
2023-04-12 13:25:14 -07:00
2023-04-12 13:25:14 -07:00
2023-07-12 20:10:35 +00:00
2023-05-16 10:26:41 -04:00
2023-04-12 13:25:14 -07:00
2023-06-20 10:05:00 -04:00
2023-06-20 10:05:00 -04:00
2023-05-16 10:26:41 -04:00
2023-07-12 19:01:21 +00:00
2023-05-03 13:38:03 -04:00
2023-06-20 10:05:00 -04:00
2023-06-06 23:44:59 +00:00
2023-06-20 10:05:00 -04:00
2023-05-30 18:22:00 +00:00
2023-05-03 13:38:03 -04:00
2023-05-03 13:38:03 -04:00
2023-04-12 13:25:14 -07:00
2023-06-28 15:26:37 +00:00
2023-07-12 22:09:54 -04:00
2023-06-20 10:05:00 -04:00
2023-04-12 13:25:14 -07:00
2023-04-12 13:25:14 -07:00
2023-06-26 15:20:38 +00:00
2023-06-20 10:05:00 -04:00
2023-06-06 23:44:59 +00:00
2023-07-12 22:09:54 -04:00
2023-06-01 12:10:45 -04:00
2023-07-18 15:50:11 +00:00
2023-05-03 13:38:03 -04:00
2023-05-03 13:38:03 -04:00
2023-07-14 15:27:28 +00:00
2023-06-28 15:27:25 +00:00
2023-01-31 18:07:22 -05:00
2023-05-03 13:38:03 -04:00
2023-06-01 12:10:45 -04:00
2023-06-01 12:10:45 -04:00
2023-06-06 11:25:15 -05:00
2023-07-10 18:42:49 +00:00
2023-07-12 22:09:54 -04:00
2023-06-20 10:05:00 -04:00
2023-07-12 20:10:35 +00:00
2023-06-20 10:05:00 -04:00
2023-06-20 10:05:00 -04:00
2023-07-14 15:27:28 +00:00
2023-04-12 13:25:14 -07:00
2023-03-07 11:57:18 -05:00
2023-05-05 13:30:21 -05:00
2023-05-04 16:36:31 +00:00
2023-05-05 13:30:21 -05:00
2023-04-12 13:25:14 -07:00
2023-05-05 13:30:21 -05:00
2023-07-17 11:43:00 -04:00
2023-06-20 14:30:36 +00:00
2023-05-24 11:42:57 -04:00
2023-07-05 12:49:06 +00:00
2023-05-11 14:57:44 -04:00
2023-06-20 10:05:00 -04:00
2023-03-15 10:03:38 -04:00
2023-06-20 10:05:00 -04:00
2023-06-06 23:44:59 +00:00
2023-04-12 13:25:14 -07:00
2023-06-01 12:10:45 -04:00
2023-07-06 16:03:12 +00:00
2023-05-03 15:51:48 +00:00
2023-05-05 13:30:21 -05:00
2023-07-12 20:35:36 +00:00
2023-05-04 00:06:41 +00:00
2023-05-05 13:30:21 -05:00
2023-07-31 11:07:00 -04:00
2023-07-13 14:56:28 +00:00
2023-06-01 12:10:45 -04:00