Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,7 +74,8 @@ var fluid_2_0 = fluid_2_0 || {}; | |
gradeNames: ["fluid.prefs.msgLookup"], | ||
strings: { | ||
showText: "{that}.msgLookup.slidingPanelShowText", | ||
hideText: "{that}.msgLookup.slidingPanelHideText" | ||
hideText: "{that}.msgLookup.slidingPanelHideText", | ||
panelLabel: "{that}.msgLookup.slidingPanelPanelLabel" | ||
}, | ||
invokers: { | ||
operateShow: { | ||
|
@@ -237,7 +238,10 @@ var fluid_2_0 = fluid_2_0 || {}; | |
// which is a child of this component | ||
|
||
var separatedPanelId = separatedPanel.slidingPanel.panelId; | ||
separatedPanel.locate("reset").attr("aria-controls", separatedPanelId); | ||
separatedPanel.locate("reset").attr({ | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
michelled
|
||
"aria-controls": separatedPanelId, | ||
"role": "button" | ||
}); | ||
|
||
separatedPanel.slidingPanel.events.afterPanelShow.addListener(function () { | ||
fluid.prefs.separatedPanel.updateView(prefsEditor); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"slidingPanelShowText": "+ Show Display Preferences", | ||
"slidingPanelHideText": "- Hide" | ||
"slidingPanelHideText": "- Hide", | ||
"slidingPanelPanelLabel": "User Prefrences" | ||
} |
Shall this change be in prefsEditor.js, on
fluid.prefs.prefsEditor
component, so the aria attributes for the reset button can apply to all instances that use prefsEditorLoader, such as full page versions in the infusion repo.