/****** Initialization Hook ******/
window.addEventListener('DOMContentLoaded', processPageForAccordionSets, false);
/****** Initialization Function ******/
function processPageForAccordionSets() {
var accordSetList = document.getElementsByClassName('paragraph--type--accordion-set');
for (var set = 0; set < accordSetList.length; set++) {
/** Set the ARIA role of the accordion set wrapper DIV as 'presentation' to cancel any inherited role **/
accordSetList[set].setAttribute('role', 'presentation');
accordSetList[set].id = 'gtAccordionSet_' + set;
var accordSections = accordSetList[set].children[0];
/**** MORE CODE HERE ****/
}
}