diff --git a/src/privates.js b/src/privates.js
index 918abfb..4732ccf 100644
--- a/src/privates.js
+++ b/src/privates.js
@@ -1017,7 +1017,7 @@ function renderPagination(wizard, options, state)
if (options.enablePagination)
{
var pagination = "<{0} class=\"actions {1}\">
{0}>",
- buttonTemplate = "{1}",
+ buttonTemplate = options.paginationButtonTemplate || "{1}",
buttons = "";
if (!options.forceMoveForward)
@@ -1094,7 +1094,10 @@ function renderTitle(wizard, options, state, header, index)
title: header.html()
}),
stepItem = $("" + title + "");
+ "\" aria-controls=\"" + uniqueBodyId + "\">" + title + ""),
+ classList= $(header).attr('class') === undefined ? [] : $(header).attr('class');
+
+ stepItem.addClass(classList);
if (!options.enableAllSteps)
{
@@ -1260,4 +1263,4 @@ function validateArgument(argumentName, argumentValue)
{
throwError("The argument '{0}' is null or undefined.", argumentName);
}
-}
\ No newline at end of file
+}