how to open links in the same window? i have a home page, which has a
navigation region at the beginning, which has many links for other
pages, when a user clicks one of the links, the page should open in
main region, and and links in navigation region should be available in
every page, i heard it can be done using iframe, and title attribute,
but i am not able to do it, could you help me with an example?
this is not about accessibility, but i know, many people here in the
forum can answer this!

We have target attribute with frame name as one of its value and this
attribute specifies where the link has to be opened depending on its value.
In your case target="frame name" is the appropriate one and make sure your
iframe is named using name attribute.
Here is the sample markup
<div role="navigation">
<a href="url1" target="frame1"> Nav1 </a>
<a href="url2" target="frame1"> Nav2 </a>
<a href="url3" target="frame1"> Nav3 </a>
</div>
<main><iframe src=""url1" height="300" width="300" name="frame1">
</iframe></main>

All your three links will be opened in the same window in the main region.
We also have other values like _blank which opens link in new tab and _self
opens the link in same window.

thanks a lot for helping me out, just wanted to know, does frame3 here
refer to frame tag? heard that it is no more in html 5, please correct
me if i am wrong

On 10/10/17, Vemaarapu Venkatesh < = EMAIL ADDRESS REMOVED = > wrote:
> Hi,
>
> We have target attribute with frame name as one of its value and this
> attribute specifies where the link has to be opened depending on its value.
> In your case target="frame name" is the appropriate one and make sure your
> iframe is named using name attribute.
> Here is the sample markup
> <div role="navigation">
> <a href="url1" target="frame1"> Nav1 </a>
> <a href="url2" target="frame1"> Nav2 </a>
> <a href="url3" target="frame1"> Nav3 </a>
> </div>
> <main><iframe src=""url1" height="300" width="300" name="frame1">
> </iframe></main>
>
> All your three links will be opened in the same window in the main region.
> We also have other values like _blank which opens link in new tab and _self
> opens the link in same window.
>
>
> Thanks,
> Venkatesh
> > > > >

Frame1 is the inline frame which I mentioned and should be specified with
<iframe> tag but not with <frame> tag. Yes the concept of frames is
deprecated but inline frames are yet in use. I wrote relevant to your query
but in general iframes are used to place external content. So to open the
links in the same page there may be some other reliable approach instead of
using iframes. Even I am curious to hear that methods from other experts. I
was reading in some forum that it can be accomplished using <div> or <span>
tags along with CSS but I am not sure what CSS properties allows us to do
that.