code: function ListView_updateItemsAriaRoles() {
                      var that = this;
                      var listRole = this._element.getAttribute("role"),
                          expectedListRole,
                          expectedItemRole;
  
                      if (this._currentMode().staticMode()) {
                          expectedListRole = "list";
                          expectedItemRole = "listitem";
                      } else {
                          expectedListRole = "listbox";
                          expectedItemRole = "option";
                      }
  
                      if (listRole !== expectedListRole || this._itemRole !== expectedItemRole) {
                          this._element.setAttribute("role", expectedListRole);
                          this._itemRole = expectedItemRole;
                          this._view.items.each(function (index, itemElement) {
                              itemElement.setAttribute("role", that._itemRole);
                          });
                      }
                  }
docs: If the ListView is in static mode, then the roles of the list and items should be "list" and "listitem", respectively. Otherwise, the roles should be "listbox" and "option." If the ARIA roles are out of sync with the ListView's static/interactive state, update the role of the ListView and the role of each realized item.