-
Notifications
You must be signed in to change notification settings - Fork 278
feat(ui5-ai-button): add customizable accessibility attributes to AI Button and SplitButton #11929
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
Merged
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
ac1bcb8
feat: improve AI button acc
GDamyanov 4d8141d
Merge branch 'main' into ai-button-acc-improvements
GDamyanov 21f4646
feat: improve acc for ai button
GDamyanov d80e887
refactor: refactor getter
GDamyanov 0bc576f
refactor: remove redundant trim
GDamyanov ea193e5
refactor: remove redundant attribute
GDamyanov ccbe215
Merge branch 'main' into ai-button-acc-improvements
GDamyanov 8bad9c9
fix: address review comments
GDamyanov 1905be9
Merge branch 'main' into ai-button-acc-improvements
GDamyanov ee027a0
test: add test suite
GDamyanov 8ba148e
Merge branch 'ai-button-acc-improvements' of https://github.com/SAP/u…
GDamyanov af4b0d0
Merge branch 'main' into ai-button-acc-improvements
GDamyanov 3a04bf0
feat: enhance sample
GDamyanov 6bad9ed
fix: update jsdocs
GDamyanov a52994a
fix: address review comments
GDamyanov 74d166d
Merge branch 'main' into ai-button-acc-improvements
GDamyanov 6587784
Merge branch 'main' into ai-button-acc-improvements
GDamyanov e2f4b57
Merge branch 'main' into ai-button-acc-improvements
GDamyanov aed55c9
fix: edit samples
GDamyanov 50ee3a8
refactor: edit variable name
GDamyanov de4d5ae
fix: fix typo in variable name
GDamyanov 029b100
feat: extract seperate getters for accInfo and accAttr
GDamyanov a9f3630
fix: rename proeprty name
GDamyanov 4a948a4
Merge branch 'main' into ai-button-acc-improvements
GDamyanov e7db9ae
fix: lint error
GDamyanov 6c19ee1
Merge branch 'ai-button-acc-improvements' of https://github.com/SAP/u…
GDamyanov c92bdc3
Merge branch 'main' into ai-button-acc-improvements
GDamyanov 2273e59
fix: rename property
GDamyanov d559ddf
Merge branch 'ai-button-acc-improvements' of https://github.com/SAP/u…
GDamyanov bb8f4f8
fix: update property in tests and samples
GDamyanov bb853fc
fix: update jsdocs versions
GDamyanov 19c2039
fix: update jdsocs
GDamyanov ee396b2
fix: update property
GDamyanov 901f7e5
Merge branch 'main' into ai-button-acc-improvements
GDamyanov 65bb56c
Merge branch 'main' into ai-button-acc-improvements
GDamyanov 196938e
Merge branch 'main' into ai-button-acc-improvements
GDamyanov b1abf04
fix: address review comments
GDamyanov 724d4ba
Merge branch 'main' into ai-button-acc-improvements
GDamyanov 97aa6b2
Merge branch 'main' into ai-button-acc-improvements
GDamyanov 179ff42
Merge branch 'main' into ai-button-acc-improvements
GDamyanov 1ff515f
Merge branch 'main' into ai-button-acc-improvements
GDamyanov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import Button from "../../../src/Button.js"; | ||
|
||
Cypress.Commands.add("ui5AIButtonCheckAttributeInTextButton", { prevSubject: true }, (subject: JQuery<Button>, attrName: string, attrValue: string) => { | ||
cy.wrap(subject) | ||
.shadow() | ||
.find("[ui5-split-button]") | ||
.shadow() | ||
.find(".ui5-split-text-button") | ||
.should("be.visible") | ||
.should("have.attr", attrName, attrValue); | ||
}); | ||
|
||
Cypress.Commands.add("ui5AIButtonCheckAttributeInArrowButton", { prevSubject: true }, (subject: JQuery<Button>, attrName: string, attrValue: string) => { | ||
cy.wrap(subject) | ||
.shadow() | ||
.find("[ui5-split-button]") | ||
.shadow() | ||
.find(".ui5-split-arrow-button") | ||
.shadow() | ||
.find(".ui5-button-root") | ||
.should("be.visible") | ||
.should("have.attr", attrName, attrValue); | ||
}); | ||
|
||
Cypress.Commands.add("ui5AIButtonCheckAttributeSplitButtonRoot", { prevSubject: true }, (subject: JQuery<Button>, attrName: string, attrValue: string) => { | ||
cy.wrap(subject) | ||
.shadow() | ||
.find("[ui5-split-button]") | ||
.shadow() | ||
.find(".ui5-split-button-root") | ||
.should("be.visible") | ||
.should("have.attr", attrName, attrValue); | ||
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
PROMPT_INPUT_CHARACTERS_LEFT={0} characters remaining | ||
|
||
PROMPT_INPUT_CHARACTERS_EXCEEDED={0} characters over limit | ||
PROMPT_INPUT_CHARACTERS_EXCEEDED={0} characters over limit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.