v94.3.0
This minor release primarily consists of accessibility improvements. A number of components now provide increased support for VoiceOver and Dynamic Type, and many components have been audited to make sure minimum touch target requirements and minimum color contrast requirements are met. Additionally, many examples in our Catalog and Dragons apps have been improved from an accessibility standpoint.
New deprecations
-
adjustsFontForContentSizeCategoryWhenScaledFontIsUnavailable
inMDCSnackbarManager
-
adjustsFontForContentSizeCategoryWhenScaledFontIsUnavailable
inMDCSnackbarMessageView
Component changes
ActionSheet
- Allow Swift example to support dynamic type (#8946) (Cody Weaver)
ActivityIndicator
- Add a voiceover layout change notification… (#8909) (Yarden Eitan)
AppBar
- AppBar example has low-contrast text (#8966) (Galia Kaufman)
- Make example titles more accurate. (#8828) (Robert Moore)
Banner
- Add a snapshot for banner with no action case. (#8968) (Wenyu Zhang)
- Fix Banner positioning in example for iOS 10 (#8829) (Bryan Oltman)
- Support use case where no button appears on Banner. (#8951) (Wenyu Zhang)
BottomNavigation
- Add accessibility value for badge (#8920) (Cody Weaver)
- Clean up badge value test example (#8921) (Cody Weaver)
BottomSheet
- Add VoiceOver support to BottomSheetShortCollectionExample (#8849) (Bryan Oltman)
- Add accessibility elements to BottomSheetExamples (#8923) (Bryan Oltman)
- Make bottom sheet be in extended state when voiceover is on (#8787) (Andrew Overton)
- Remove scrim accessibility logic from BottomSheetUIControlExample (#8848) (Bryan Oltman)
ButtonBar
- Darken ButtonBarIconExample icon colors (#8826) (Bryan Oltman)
- Delete the Theming extension. (#8696) (featherless)
Buttons
- Fix a11y issues in Buttons (Content Edge Insets) exam… (#8900) (Yarden Eitan)
- Improve accessibility of Shaped Buttons. (#8964) (Robert Moore)
- Update accessibility label for FABs (#8911) (Cody Weaver)
Cards
- Fix bug in the "Typical use" example where the image would not appear. (#8943) (featherless)
- Make the "Typical use" example title label an a11y heading. (#8945) (featherless)
- Make the Shaped Edit/Reorder example class/files match the name of the example. (#8899) (featherless)
- Make the shaped collection cell an accessibility button. (#8901) (featherless)
Chips
- Fix layout of ChipsSizingExampleViewController. (#8940) (featherless)
- Give the ChipsSizing example's sliders a11y labels and values. (#8942) (featherless)
- Set UIAccessibilityTraitButton on MDCChipView's accessibilityTraits. (#8792) (featherless)
Dialogs
- Allow clients to customize message accessibility label (#8801) (Cody Weaver)
- Allow clients to customize title accessibilityLabel. (#8799) (Cody Weaver)
- Fix bug in "Dismissing Dialogs" dialogs where the buttons were not themed. (#8967) (featherless)
- Implement the a11y escape gesture on all custom dialogs in the "Dismissing Dialogs" example. (#8965) (featherless)
- Make all "Dismissing Dialogs" cells a11y buttons. (#8956) (featherless)
- Make the "Dialogs with accessory view" example's cells accessibility buttons. (#8939) (featherless)
- Make the "View with corner radius" example's dialog escapable in VoiceOver. (#8950) (featherless)
- More Material Alerts examples is more accessible. (#8960) (Robert Moore)
- Provide accessibility traits for Input Field example (#8958) (Robert Moore)
- Remove usage of
buttonFont
in example (#8772) (Cody Weaver) - Set dialog message accessibilityFrame based on visible message text (#8786) (Bryan Oltman)
FeatureHighlight
- Add a voiceover dismissal affordance for the feature highlight. (#8959) (Yarden Eitan)
- Make "Color" example accessible. (#8957) (Robert Moore)
- Positions label not hidden behind nav bar. (#8969) (Yarden Eitan)
Ink
- Consolidate example code into a single file. (#8890) (featherless)
- Make the ink views accessibility elements. (#8891) (featherless)
List
- Fix MDCBaseCell Example to work with Voice Over (#8953) (Galia Kaufman)
- Fix accessibility labels and layout in CollectionListCellExampleTypicalUse (#8944) (Bryan Oltman)
- Fix catalog compile issue (#8974) (Cody Weaver)
- Make Base Cell example more accessible. (#8947) (Robert Moore)
- Make Base Cell example more accessible. (#8982) (Robert Moore)
NavigationDrawer
- Add close button to bottom drawer example header (#8963) (Bryan Oltman)
- Remove container view when dismiss transitio… (#8660) (Jonathan Willing)
PageControl
- Fixes contrast ratio and button interactivity for… (#8922) (Yarden Eitan)
- Improve contrast ratio in PageControlSwiftExampleViewController (#8938) (Bryan Oltman)
- Improve contrast ratio in PageControlTypicalUseViewController (#8941) (Bryan Oltman)
- adds a11y support for page control with next button example (#8932) (Yarden Eitan)
ProgressView
- Add accessibilityLabel (#8775) (Bryan Oltman)
Ripple
- Add tests demonstrating unexpected layer.mask behavior. (#8808) (featherless)
- Ripple typical example now can be used with Voice Over (#8924) (Yarden Eitan)
- make card with ripple example a5able (#8929) (Yarden Eitan)
ShadowElevations
- Delete non-functional ShadowElevationsTypicalUseViewController.swift (#8955) (Bryan Oltman)
- Provide semantic VoiceOver labels when interacting with the typical use example. (#8930) (featherless)
- Delete swift example target since there is no input file. (#8955) (Wenyu Zhang)
ShadowLayer
Slider
- Update documentation to match behavior. (#8782) (Robert Moore)
Snackbar
- Add invisible hit target for legacy snackbar (#8807) (Bryan Oltman)
- Deprecate adjustsFontForContentSizeCategoryWhenScaledFontIsUnavailable (#8728) (Bryan Oltman)
Tabs
- Add newlines after all Swift doc headers. (#8931) (featherless)
- Improve accessibility for TabBar example. (#8983) (Robert Moore)
- Improve custom view documentation. (#8813) (Robert Moore)
- Mark TabBarView as accessibility tab bar. (#8811) (Robert Moore)
- Use built-in "tabs" behavior on iOS 10+ (#8812) (Robert Moore)
TextControls
- Add adjusts content size category behavior (#8802) (Andrew Overton)
- Add dynamic type functionality to text controls example (#8847) (Andrew Overton)
- Snapshot test with AXXXL sizes (#8781) (Andrew Overton)
- Use system dynamic colors for sensible defaults in iOS 13 (#8818) (Andrew Overton)
TextFields
- Added accessibility label tests for MDCMultilineTextFields (#8902) (Randall Li)
- Added header comment: placeholder APIs are for
label text
(#8803) (Randall Li) - Added tests for accessibilityLabel (#8830) (Randall Li)
- Check if placeholder is hidden before verbalizing it in voice over. (#8804) (Randall Li)
- Convert clear button to MDCButton (#8784) (Bryan Oltman)
- Correction to the accessibility label (#8976) (Randall Li)
- Fix spelling mistake (#8910) (Randall Li)
- Update announcement text for fields with a character limit (#8777) (Bryan Oltman)
- Update character count announcement in MDCTextInputControllerFullWidth (#8789) (Bryan Oltman)
- simplify test names since the name of the file already gives context. (#8952) (Randall Li)
- Add accessibilityLabel override to MDCBaseTextField (#8773) (Andrew Overton)
Typography
- Using safeSharedApplication in test (#8815) (Randall Li)
schemes/Typography
- Separate protocol target. (#8798) (Robert Moore)