-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V8: Accessibility Changes For umbEditorHeader Directive (settings section) #6986
V8: Accessibility Changes For umbEditorHeader Directive (settings section) #6986
Conversation
…ing the new header directive properties for screen reader only text, and for setting the page title
…the new header directive properties for screen reader only text, and for setting the page title
…menting the new header directive properties for screen reader only text, and for setting the page title
Hi @RachBreeze , Thank you, you know what happens next! Poornima |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RachBreeze lovely 👍
A few comments from me:
- Could you please resolve the merge localization conflicts?
- Is there any reason why you're creating all those
vm.header
objects on the controllers? Wouldn't it be easier to simply supply the values directly in theeditorfor
andsetpagetitle
attributes ofumb-editor-header
?
Hi @kjac |
…to v8/headerdirective-settings-section # Conflicts: # src/Umbraco.Web.UI/Umbraco/config/lang/en.xml # src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
Hi @kjac |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RachBreeze this works as advertised 👏 happy to approve it!
For future reference you can pass the values directly to the header directive like this:
<umb-editor-header
name="vm.relationType.name"
alias="vm.relationType.alias"
hide-description="true"
hide-icon="true"
navigation="vm.page.navigation"
editorfor="'relationType_tabRelationType'"
setpagetitle="true">
</umb-editor-header>
...notice the single quotes around editorfor
.
As for the language files, well... that's a longer story. At some point in the past someone formatted one or more of them in a manner that doesn't conform to the default indentation which 4 spaces, as defined in
As a result, VS fails miserably at indenting these files. What I usually do is hit Ctrl+Z immediately after copying and pasting an entry in the language files if the indentation looks wrong. VS will usually undo it's failed auto-formatting then, leaving behind something that at least looks correct (even if it is wrong according to Logic would dictate that we should simply force format those files in a separate commit to |
Merged. Thanks again, @RachBreeze 👍 |
This PR extends #6315 adding the screen reader properties and setting the page title for almost all of the remaining menu items in the settings section. It leaves the language and the log viewer as the remaining items to update within this section