nutritionix / nutrition-label

Create a FDA-style nutrition label with any nutrition data source (even the Nutritionix API - http://www.nutritionix.com/api)
http://www.nutritionix.com/
MIT License
176 stars 66 forks source link

more changes related to the accessibility of the labels - task 1 #134

Closed majin22 closed 3 years ago

majin22 commented 3 years ago

linked to the internal task https://edgenetteam.atlassian.net/browse/WELL-949?focusedCommentId=288709

  1. the daily values are now read by the screen reader properly
  2. the nutrition value is read first before the daily value (changes on how the order the code appears on the label)
  3. added a screen-reader only value textDailyValues to be read after the daily value percentage to make it more clear what the value being read is (eg. 39% daily value)

the changes are applied on the legacy and 2018 labels

majin22 commented 3 years ago

@Yurko-Fedoriv I just want to let you know that a new version of the jquery label plugin has been published. Thanks.