diff --git a/heading.go b/heading.go index 092c58c..04c4b93 100644 --- a/heading.go +++ b/heading.go @@ -18,6 +18,8 @@ func NewHeading (level int, text string) *Heading { this.SetRole(tomo.R("objects", "Heading")) this.SetTag(fmt.Sprint(level), true) this.SetText(text) + this.SetSelectable(true) + this.SetFocusable(true) return this } diff --git a/label.go b/label.go index 0d0cde8..be2a850 100644 --- a/label.go +++ b/label.go @@ -13,5 +13,7 @@ func NewLabel (text string) *Label { this.SetRole(tomo.R("objects", "Label")) this.SetText(text) this.SetAttr(tomo.AAlign(tomo.AlignStart, tomo.AlignMiddle)) + this.SetSelectable(true) + this.SetFocusable(true) return this }