mirror of
https://github.com/bitwarden/android.git
synced 2026-10-23 03:23:53 -05:00
Improve accessibility support in `BitwardenPasswordField` by ensuring Talkback can read the password aloud when the user chooses to make it visible, while explicitly marking the content as sensitive data. Behavioral changes: * When the "show password" toggle is active, Talkback will now read the actual password text instead of silence or obfuscated characters. This behavior occurs regardless of the system-wide "Speak Passwords" setting due to the custom visual transformation usage. * The field is semantically marked as containing sensitive data. Specific changes: * Apply a `semantics` modifier to the internal `TextField` in `BitwardenPasswordField`. * Set `contentDescription` to the actual text value only when `showPassword` is true; otherwise, it defaults to an empty string. * Set the `isSensitiveData` semantic property to `true`.
Data module
An Android library containing common UI components, types, and utilities.
Contents
Compatibility
- Minimum SDK: 28 (Android 9)
- Target SDK: 36 (Android 16)
Theme
Icons & Illustrations
Naming Convention
All drawables should be named with the appropriate prefix to identify what they are and how they are intended to be used.
| Prefix | Description |
|---|---|
gif_ |
gifs |
ic_ |
Icons |
img_ |
Raster Images |
ill_ |
Illustrations |
logo_ |
Brand Imagery |
Multi-tonal Illustrations
The app supports light mode, dark mode and dynamic colors. Most icons in the app will display correctly using tinting but multi-tonal icons and illustrations require extra processing in order to be displayed properly with dynamic colors.
All illustrations and multi-tonal icons require the svg paths to be tagged with the name attribute in order for each individual path to be tinted the appropriate color. Any untagged path will not be tinted and the resulting image will be incorrect.
The supported tags are as follows:
- outline
- primary
- secondary
- tertiary
- accent
- logo
- navigation
- navigationActiveAccent