docs: function (str, highlight) {
                  var highlightLen = highlight.length;
                  if (ariaUtilsType.isString(str) && highlightLen) {
                      highlight = highlight.toLowerCase();
                      var strLowerCased = str.toLowerCase(), firstOccurrenceIdx;
                      if (strLowerCased.indexOf(highlight) === 0) {
                          firstOccurrenceIdx = 0;
                      } else {
                          var highlightRegexSafe = highlight.replace(regExSpecials, "\\$1");
                          var regexResult = new RegExp("\\s" + highlightRegexSafe, "i").exec(strLowerCased);
                          if (!regexResult) {
                              return ariaUtilsString.escapeForHTML(str);
                          } else {
                              firstOccurrenceIdx = regexResult.index + 1; // +1 for matched whitespace
                          }
                      }
                      var a = firstOccurrenceIdx;
                      var b = firstOccurrenceIdx + highlightLen;
                      var middleOriginal = str.substring(a, b);
                      var middle = ariaUtilsString.stripAccents(middleOriginal).toLowerCase();
                      if (middle === highlight) {
                          return ariaUtilsString.escapeForHTML(str.substring(0, a)) + "<strong>" + ariaUtilsString.escapeForHTML(middleOriginal) + "</strong>" + ariaUtilsString.escapeForHTML(str.substring(b));
                      }
                  }
                  return str ? ariaUtilsString.escapeForHTML(str) : str;
              }