Skip to content

Commit e05d3ee

Browse files
Material Design Teamdsn5ft
authored andcommitted
[Docs] Resolved images rendering issue on GitHub by removing "" from the alt text and fixed table rendering issue
PiperOrigin-RevId: 787059303
1 parent 42e0322 commit e05d3ee

File tree

3 files changed

+13
-16
lines changed

3 files changed

+13
-16
lines changed

docs/components/Checkbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ path: /catalog/checkboxes/
1212
[Checkboxes](https://m3.material.io/components/checkbox/overview) let users
1313
select one or more items from a list, or turn an item on or off.
1414

15-
<img src="assets/checkbox/checkbox_hero.png" alt="Checkbox hero: Meal options" header, "Additions" checkbox, "Pickles" "Lettuce" "Tomato" checkboxes with “Lettuce” checked" width="900">
15+
<img src="assets/checkbox/checkbox_hero.png" alt="Checkbox hero: meal options header, additions checkbox, pickles, lettuce, tomato, checkboxes with lettuce checked" width="900">
1616

1717
**Note:** Images use various dynamic color schemes.
1818

docs/components/Menu.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ API and source code:
153153

154154
The following example shows an overflow menu.
155155

156-
<img src="assets/menu/menus_overflow.png" alt="Composite image: purple "Menus" bar, and purple "Menus" bar with white menu and 3 options" height="300">
156+
<img src="assets/menu/menus_overflow.png" alt="Composite image: purple menus bar, and purple Menus bar with white menu and 3 options" height="300">
157157

158158
In code:
159159

@@ -273,7 +273,7 @@ with a `res/menu/context_menu.xml`:
273273

274274
The following example shows a popup menu that displays when a button is clicked.
275275

276-
<img src="assets/menu/menus_popup.png" alt="White menu container with 3 options open below a purple "Show menu" button" height="300">
276+
<img src="assets/menu/menus_popup.png" alt="White menu container with 3 options open below a purple, show menu button" height="300">
277277

278278
In code:
279279

@@ -332,7 +332,7 @@ work in future versions.
332332

333333
The following example shows a popup menu with icons.
334334

335-
<img src="assets/menu/menus_popup_icons.png" alt="White menu window with 3 options open below a purple "Show menu" button. Each
335+
<img src="assets/menu/menus_popup_icons.png" alt="White menu window with 3 options open below a purple, show menu button. Each
336336
option has an icon." height="350">
337337

338338
In code:
@@ -393,7 +393,7 @@ In `res/menu/popup_menu.xml`:
393393
The following example shows a list popup window menu that appears when a button
394394
is clicked.
395395

396-
<img src="assets/menu/menus_list_popup_window.png" alt="White menu container with 3 options below a purple "Show menu" button" height="350">
396+
<img src="assets/menu/menus_list_popup_window.png" alt="White menu container with 3 options below a purple, show menu button" height="350">
397397

398398
In code:
399399

@@ -477,7 +477,7 @@ using `Theme.Material3.*` themes.
477477

478478
The following is an example of a filled exposed dropdown menu:
479479

480-
<img src="assets/menu/menus_exposed_dropdown_filled.png" alt="2 menu states with text field element: 1) has "item 1", 2) has "item 1" and a 4-item menu container." height="400">
480+
<img src="assets/menu/menus_exposed_dropdown_filled.png" alt="2 menu states with text field element: 1) has item 1, 2) has item 1 and a 4-item menu container." height="400">
481481

482482
In the layout:
483483

docs/components/NavigationDrawer.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ path: /catalog/navigation-drawer/
99

1010
# Navigation drawers
1111

12-
Note: The navigation drawer is being deprecated in the Material 3 expressive
12+
**Note:** The navigation drawer is being deprecated in the Material 3 expressive
1313
update. For those who have updated, use an [expanded navigation rail](https://m3.material.io/components/navigation-rail/overview), which has
1414
mostly the same functionality of the navigation drawer and adapts better across
1515
window size classes.
@@ -18,7 +18,7 @@ window size classes.
1818
provide access to destinations in your app. There are two variants of navigation
1919
drawers.
2020

21-
<img src="assets/navigationdrawer/navigation_drawer_overview.png" alt="A standard (left) and modal (right) Navigation drawer" height="450">
21+
<img src="assets/navigationdrawer/navigation_drawer_overview.png" alt="A standard (left) and modal (right) navigation drawer" height="450">
2222

2323
1. Standard navigation drawer
2424
2. Modal navigation drawer
@@ -123,10 +123,9 @@ Element | Attribute
123123

124124
### `NavigationView` styles
125125

126-
| Element | Style | Theme attribute |
127-
| --------- | --------------------------------- | --------------------------- |
128-
| **Default | `Widget.Material3.NavigationView` | `?attr/navigationViewStyle` |
129-
: style** : : :
126+
Element | Style | Theme attribute
127+
----------------- | --------------------------------- | ---------------------------
128+
**Default style** | `Widget.Material3.NavigationView` | `?attr/navigationViewStyle`
130129

131130
### `DrawerLayout` styles
132131

@@ -154,7 +153,7 @@ API and source code:
154153

155154
The following example shows a permanently visible standard navigation drawer.
156155

157-
<img src="assets/navigationdrawer/navigation-drawer-standard.png" alt="Nav drawer with "Header title", "Header text", “Subtitle”, and 3 items with icons on left of screen." height="300">
156+
<img src="assets/navigationdrawer/navigation-drawer-standard.png" alt="nav drawer with header title,header text, subtitle, and 3 items with icons on left of screen." height="300">
158157

159158
In the layout:
160159

@@ -223,9 +222,7 @@ API and source code:
223222

224223
The following example shows a modal navigation drawer.
225224

226-
<img src="assets/navigationdrawer/navigation-drawer-modal.png" alt="A screen with a modal navigation drawer open. The drawer container "Header
227-
title", "Header text", and 6
228-
items." height="600">
225+
<img src="assets/navigationdrawer/navigation-drawer-modal.png" alt="A screen with a modal navigation drawer open. The drawer container, header title, header text, and six items." height="600">
229226

230227
In the layout:
231228

0 commit comments

Comments
 (0)