Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #43 from groig/master
Browse files Browse the repository at this point in the history
add semanticLabel to some icons for screen readers
  • Loading branch information
glpzzz authored Jul 2, 2020
2 parents 4450f1c + 53fa5a5 commit 43fe787
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/pages/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class _HomePageState extends State<HomePage> {
centerTitle: true,
actions: <Widget>[
IconButton(
icon: Icon(networkIcon),
icon: Icon(networkIcon, semanticLabel: "Conexión a Nauta"),
onPressed: () {
Navigator.push(
context,
Expand All @@ -110,7 +110,8 @@ class _HomePageState extends State<HomePage> {
},
),
IconButton(
icon: Icon(Icons.account_circle),
icon: Icon(Icons.account_circle,
semanticLabel: "Gestión de cuentas"),
onPressed: () {
Navigator.of(context).push(
MaterialPageRoute(
Expand All @@ -120,7 +121,8 @@ class _HomePageState extends State<HomePage> {
},
),
IconButton(
icon: Icon(Icons.more_vert),
icon: Icon(Icons.more_vert,
semanticLabel: "Opciones de configuración"),
onPressed: () {
Navigator.of(context).push(
MaterialPageRoute(
Expand Down

0 comments on commit 43fe787

Please sign in to comment.