azavea / pwd-unitybar

Unified header for PWD Stormwater web apps
https://staging-pwd-unitybar.netlify.com/
Apache License 2.0
1 stars 2 forks source link

Add title props for map action and help action #78

Closed kellyi closed 5 years ago

kellyi commented 5 years ago

Overview

To enhance accessibility, add title props for the map action and the help action, which would allow host applications to send in a text string which would be used as the titles for the map and help action buttons.

Currently the titles for these buttons default to "Help" and "Map", which could be more helpful.

Describe the solution you'd like

Host applications can send in helpActionTitle and mapActionTitle string props which are then used as the titles for these actions.

The default values for these titles should be made more expressive -- something like "Explore the Map" and "Parcel Viewer Help" etc.