'use strict';

module.exports = key => ({
  [`${key}-day`]: {
    label: 'Day'
  },
  [`${key}-month`]: {
    label: 'Month'
  },
  [`${key}-year`]: {
    label: 'Year'
  }
});

@@ -71,16 +71,46 @@
 l: 'Day'
+,%0A    autocomplete: 'bday-day'
 %0A  %7D,%0A  
@@ -147,16 +147,48 @@
  'Month'
+,%0A    autocomplete: 'bday-month'
 %0A  %7D,%0A  
@@ -223,16 +223,47 @@
 : 'Year'
+,%0A    autocomplete: 'bday-year'
 %0A  %7D%0A%7D);

Add autocomplete to date component to assist with accessibility