define(["exports", "core/pubsubhub"], function (exports, _pubsubhub) {
  "use strict";

  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.name = undefined;
  exports.run = run;
  var name = exports.name = "core/aria";

  (0, _pubsubhub.sub)("end-all", function () {
    document.body.setAttribute("aria-busy", "false");
    document.body.removeAttribute("aria-live");
  }, { once: true });

  function run(conf, doc, cb) {
    doc.body.setAttribute("aria-busy", "true");
    doc.body.setAttribute("aria-live", "polite");
    cb();
  }
});
//# sourceMappingURL=aria.js.map