File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
source/nodejs/adaptivecards/src Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -5007,7 +5007,6 @@ class ActionCollection {
50075007 let buttonStrip = document . createElement ( "div" ) ;
50085008 buttonStrip . className = hostConfig . makeCssClassName ( "ac-actionSet" ) ;
50095009 buttonStrip . style . display = "flex" ;
5010- buttonStrip . setAttribute ( "role" , "menubar" ) ;
50115010
50125011 if ( orientation == Enums . Orientation . Horizontal ) {
50135012 buttonStrip . style . flexDirection = "row" ;
@@ -5114,12 +5113,6 @@ class ActionCollection {
51145113 action . render ( ) ;
51155114
51165115 if ( action . renderedElement ) {
5117- if ( primaryActions . length > 1 ) {
5118- action . renderedElement . setAttribute ( "aria-posinset" , ( i + 1 ) . toString ( ) ) ;
5119- action . renderedElement . setAttribute ( "aria-setsize" , primaryActions . length . toString ( ) ) ;
5120- action . renderedElement . setAttribute ( "role" , "menuitem" ) ;
5121- }
5122-
51235116 if ( hostConfig . actions . actionsOrientation == Enums . Orientation . Horizontal && hostConfig . actions . actionAlignment == Enums . ActionAlignment . Stretch ) {
51245117 action . renderedElement . style . flex = "0 1 100%" ;
51255118 }
You can’t perform that action at this time.
0 commit comments